1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

display custom prices in events index

This commit is contained in:
Sylvain 2016-08-29 17:33:21 +02:00
parent 7bc19f540d
commit 60a8f60be8
5 changed files with 1 additions and 5 deletions

View File

@ -55,7 +55,7 @@
<h3 class="m-n" ng-show="onSingleDay(event)">{{event.start_date | amDateFormat:'L'}}</h3> <h3 class="m-n" ng-show="onSingleDay(event)">{{event.start_date | amDateFormat:'L'}}</h3>
<h3 class="m-n" ng-hide="onSingleDay(event)">{{event.start_date | amDateFormat:'L'}} <span class="text-sm font-thin" translate> {{ 'to_date' }} </span> {{event.end_date | amDateFormat:'L'}}</h3> <h3 class="m-n" ng-hide="onSingleDay(event)">{{event.start_date | amDateFormat:'L'}} <span class="text-sm font-thin" translate> {{ 'to_date' }} </span> {{event.end_date | amDateFormat:'L'}}</h3>
<h6 class="m-n" ng-if="event.amount">{{ 'full_price_' | translate }} {{event.amount | currency}} <span ng-if="event.reduced_amount > 0">/ {{ 'reduced_rate_' | translate }} {{event.reduced_amount | currency}}</span></h6> <h6 class="m-n" ng-if="event.amount">{{ 'full_price_' | translate }} {{event.amount | currency}} <span ng-repeat="price in event.prices">/ {{ price.category.name }} {{price.amount | currency}}</span></h6>
<div> <div>
<span class="text-black-light text-xs" ng-if="event.event_themes[0]"><i class="fa fa-tags" aria-hidden="true"></i> {{event.event_themes[0].name}}</span> <span class="text-black-light text-xs" ng-if="event.event_themes[0]"><i class="fa fa-tags" aria-hidden="true"></i> {{event.event_themes[0].name}}</span>

View File

@ -224,7 +224,6 @@ en:
beginning: "Beginning:" beginning: "Beginning:"
ending: "Ending:" ending: "Ending:"
opening_hours: "Opening hours:" opening_hours: "Opening hours:"
reduced_rate*: "Reduced rate*:"
tickets_still_availables: "Tickets still available:" tickets_still_availables: "Tickets still available:"
sold_out: "Sold out." sold_out: "Sold out."
free_entry: "Free entry" free_entry: "Free entry"

View File

@ -226,7 +226,6 @@ fr:
beginning: "Début :" beginning: "Début :"
ending: "Fin :" ending: "Fin :"
opening_hours: "Horaires :" opening_hours: "Horaires :"
reduced_rate*: "Tarif réduit* :"
tickets_still_availables: "Places encore disponibles :" tickets_still_availables: "Places encore disponibles :"
sold_out: "Événement complet." sold_out: "Événement complet."
free_entry: "Entrée libre" free_entry: "Entrée libre"

View File

@ -44,7 +44,6 @@ en:
title: "Title" title: "Title"
total_: "TOTAL :" total_: "TOTAL :"
full_price_: "Full price:" full_price_: "Full price:"
reduced_rate: "Reduced rate"
reduced_rate_: "Reduced rate:" reduced_rate_: "Reduced rate:"
rough_draft: "Rough draft" rough_draft: "Rough draft"
machines_and_materials: "Machines and materials" machines_and_materials: "Machines and materials"

View File

@ -44,7 +44,6 @@ fr:
title: "Titre" title: "Titre"
total_: "TOTAL :" total_: "TOTAL :"
full_price_: "Plein tarif :" full_price_: "Plein tarif :"
reduced_rate: "Tarif réduit"
reduced_rate_: "Tarif réduit :" reduced_rate_: "Tarif réduit :"
rough_draft: "Brouillon" rough_draft: "Brouillon"
machines_and_materials: "Machines et matériaux" machines_and_materials: "Machines et matériaux"