add booth in alias

Booth can be replaced with any alias by replacing it in alias.en.yml.
This commit is contained in:
Rahul 2019-07-22 00:59:17 +05:30
parent 8eb059276f
commit bf7a7932ba
29 changed files with 81 additions and 74 deletions

View file

@ -17,9 +17,9 @@
%p.text-right
- if @booth.new_record?
= f.submit 'Create Booth Request', class: 'btn btn-success'
= f.submit "Create #{(t'booth').capitalize } Request", class: 'btn btn-success'
- else
= f.submit 'Update Booth Request', class: 'btn btn-success'
= f.submit "Update #{(t'booth').capitalize } Request", class: 'btn btn-success'
:javascript
$(document).ready(function() {

View file

@ -2,7 +2,7 @@
.row
.col-md-12.page-header
%h1
Your booth requests for
Your #{t'booth'} requests for
= @conference.title
.row
.col-md-12
@ -48,4 +48,4 @@
restart_conference_booth_path(@conference.short_title, booth),
method: :patch, class: 'btn btn-mini btn-success', id: "restart_booth_#{booth.id}"
.pull-right
= link_to 'Add Booth', new_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'
= link_to "Add #{(t'booth').capitalize }", new_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'

View file

@ -1,4 +1,4 @@
.container
%h1 Request a booth
%h1 Request a #{t'booth'}
= render 'form'