|
57 | 57 | %span.fa-stack |
58 | 58 | %i.fa-solid.fa-square-dashed.fa-stack-2x |
59 | 59 | %i.fa-solid.fa-check.fa-stack-1x |
60 | | - Registered to the following event(s) |
| 60 | + = t('Registered to the following event(s)') |
61 | 61 | %ul |
62 | 62 | - @registration.events.each do |event| |
63 | 63 | %li |
|
101 | 101 | = humanized_money @total_price_per_ticket[ticket_id] |
102 | 102 | %br |
103 | 103 | .btn-group{ role: 'group' } |
104 | | - = link_to 'View all tickets', |
| 104 | + = link_to t('View all tickets'), |
105 | 105 | conference_physical_tickets_path(@conference.short_title), |
106 | 106 | class: 'btn btn-success' |
107 | | - = link_to 'Get more tickets', |
| 107 | + = link_to t('Get more tickets'), |
108 | 108 | conference_tickets_path(@conference.short_title), |
109 | 109 | class: 'btn btn-default' |
110 | 110 | - else |
|
115 | 115 | %p |
116 | 116 | %em |
117 | 117 | = t("Your participation won't be valid without getting a") |
118 | | - registration ticket. |
| 118 | + = t('registration ticket.') |
119 | 119 | = link_to t('Get tickets'), |
120 | 120 | conference_tickets_path(@conference.short_title), |
121 | 121 | class: 'btn btn-default' |
|
126 | 126 | .btn-group-vertical.pull-right |
127 | 127 | = link_to t('Edit your Registration'), edit_conference_conference_registration_path(@conference.short_title), class: 'btn btn-success', disabled: @conference.end_date < Date.today |
128 | 128 | - if @tickets.any? |
129 | | - = link_to 'Unregister', conference_conference_registration_path(@conference.short_title), method: :delete, class: 'btn btn-danger btn-xs', |
| 129 | + = link_to t('Unregister'), conference_conference_registration_path(@conference.short_title), method: :delete, class: 'btn btn-danger btn-xs', |
130 | 130 | data: { confirm: t("Your ticket purchases won't be refunded") }, disabled: @conference.end_date < Date.today |
131 | 131 | - else |
132 | | - = link_to 'Unregister', conference_conference_registration_path(@conference.short_title), method: :delete, class: 'btn btn-danger btn-xs', |
| 132 | + = link_to t('Unregister'), conference_conference_registration_path(@conference.short_title), method: :delete, class: 'btn btn-danger btn-xs', |
133 | 133 | data: { confirm: t("You haven't purchased any ticket") }, disabled: @conference.end_date < Date.today |
134 | 134 | - else |
135 | | - = link_to 'Register', new_conference_conference_registration_path(@conference.short_title), class: 'btn btn-success btn-lg pull-right' |
| 135 | + = link_to t('Register'), new_conference_conference_registration_path(@conference.short_title), class: 'btn btn-success btn-lg pull-right' |
136 | 136 |
|
137 | 137 | .row |
138 | 138 | .col-md-12 |
|
0 commit comments