Skip to content

Commit

Permalink
#417 hide language selection if there is exactly one language for the…
Browse files Browse the repository at this point in the history
… event
  • Loading branch information
syjer committed May 2, 2018
1 parent 6b4c8cb commit df6f4f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/webapp/WEB-INF/templates/event/attendee-fields.ms
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
</div>
{{/fields}}
{{/ticketFieldConfiguration}}
{{#showAvailableLanguagesInPageTop}}
<div class="form-group">
<label class="col-sm-3 control-label" for="language-{{uuid}}">{{#i18n}}reservation-page-complete.language{{/i18n}}</label>
<div class="col-sm-9">
Expand All @@ -97,4 +98,9 @@
</select>
</div>
</div>
{{/showAvailableLanguagesInPageTop}}
{{^showAvailableLanguagesInPageTop}}
<div><input type="hidden" name="{{elementNamePrefix}}userLanguage" value="{{userLanguage}}"></div>
{{/showAvailableLanguagesInPageTop}}

</div>

0 comments on commit df6f4f4

Please sign in to comment.