Skip to content

Commit

Permalink
Lil' Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
radscheit committed Jan 27, 2017
1 parent a51bfac commit b1135bb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/views/events/participants.html.erb
Expand Up @@ -123,17 +123,17 @@
:target => '_blank' %>
<% end %>
<% end %>
<br>
<%= link_to t('.back', :default => t('helpers.links.back')),
event_path(@event), :class => 'btn btn-default' %>
<br>
<%= link_to t('.back', :default => t('helpers.links.back')),
event_path(@event), :class => 'btn btn-default' %>
<% if @event.phase == :execution %>
<%= link_to t('events.badges.print_button_label'),
badges_event_path(@event),
:class => 'btn btn-default',
:disabled => @participants.empty?,
:target => '_blank' %>
<% end %>
<% if @event.phase == :execution %>
<%= link_to t('events.badges.print_button_label'),
badges_event_path(@event),
:class => 'btn btn-default',
:disabled => @participants.empty?,
:target => '_blank' %>
<% end %>

<script>
$('.colorselector').colorselector();
Expand Down

0 comments on commit b1135bb

Please sign in to comment.