-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
103 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="form-group"> | ||
<%= f.label tag %>:<br/> | ||
<%= f.telephone_field tag, class: 'form-control' %> | ||
<small>Your telephone number will be kept confidential,...</small> | ||
<small>Uw telefoonnummer wordt vertrouwelijk gehouden, en zal enkel gebruikt worden om uw persoonlijke eindscore te sms'en.</small> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<li class="list-group-item"> | ||
<%= al.name_with_price %> | ||
<% if al.event.show_ticket_count %> | ||
<span class="label label-<%= color_for_tickets_left(al) %> pull-right"><%= "#{pluralize(al.tickets_left, "ticket")} left" if al.capacity.presence %></span> | ||
<span class="label label-<%= color_for_tickets_left(al) %> pull-right"><%= "#{pluralize(al.tickets_left, "ticket")} " + t('tickets.left') if al.capacity.presence %></span> | ||
<% end %> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
<h1>Ticket deleted!</h1> | ||
<p>Placeholder text</p> | ||
<h1><%= t('event.cancel.deleted.title') %></h1> | ||
|
||
<a href="<%= @event.website %>"><%= t('event.cancel.deleted.click_here_website')%></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<h1>Schrijf u uit!</h1> | ||
<p><%= @registration.event.name %></p> | ||
<p>dsfsdfsfk</p> | ||
<h1><%= t('event.cancel.title', :event => @registration.event.name) %></h1> | ||
<% if @registration.event.registration_cancelable %> | ||
<%= button_to 'Schrijf mij nu uit!', cancel_destroy_event_registration_path(params), method: :delete, class:'btn btn-default' %> | ||
<%= button_to t('event.cancel.button'), cancel_destroy_event_registration_path(params), method: :delete, class:'btn btn-default' %> | ||
<% else %> | ||
Sorry, uitschrijven is niet meer mogelijk. | ||
<%= t('event.cancel.closed')%> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
nl: | ||
activerecord: | ||
attributes: | ||
registration: | ||
access_levels: "Ticket" | ||
name: "Naam" | ||
email: "E-mail" | ||
phone_number: "Telefoonnummer" | ||
register: 'Registreer' | ||
event: | ||
description: 'Beschrijving' | ||
organisation: 'Organisatie' | ||
location: 'Locatie' | ||
start_date: 'Startdatum' | ||
end_date: 'Einddatum' | ||
website: 'Website' | ||
contact_mail: 'Contact e-mail' | ||
register: 'Registreer' | ||
barcode_number: 'Barcode nummer' | ||
cancel: | ||
title: 'Schrijf u uit voor %{event}' | ||
button: 'Schrijf mij nu uit!' | ||
closed: 'Sorry, uitschrijven is niet meer mogelijk.' | ||
deleted: | ||
title: 'Ticket verwijderd' | ||
click_here_website: 'Klik hier om naar de event website te gaan.' | ||
tickets: | ||
left: 'over' | ||
login_required: 'Sommige tickets kunnen enkel besteld worden als je lid bent van de organiserende vereniging.' | ||
login: 'Log in' | ||
login_cas: 'met CAS om de tickets te kunnen bestellen.' | ||
no_available: 'No tickets available at the moment!' | ||
mail: | ||
ticket_start: "Dear %{name}<br />Thank you for confirming your presence. This e-mail is your personal ticket for this event. Do not forget to print this email and bring the ticket with you. | ||
<br/> | ||
If you won't be able to attend, we kindly ask you to let us know via the link to the annulation page below. If you experience problems or have questions, do not hesitate to contact us by %{mail}" | ||
more_info: "Meer info" | ||
cancel: "Om te annuleren" | ||
click_here: "klik hier" | ||
flash: | ||
succes: "Registratie succesvol. Uw ticket zou nu in uw mailbox toegekomen moeten zijn." | ||
|
||
helpers: | ||
label: | ||
event: | ||
club_id: "Organisatie" | ||
datagrid: | ||
table: | ||
order: | ||
asc: '↑' | ||
desc: '↓' |
Shouldn't this be localized too?