<%= link_to sprite_icon('add', l(:label_commission_rep_new)), new_commission_rep_path, class: 'icon icon-add' %> <%= link_to sprite_icon('settings', l(:label_settings)), plugin_settings_path('redmine_qbo_commission'), class: 'icon icon-settings' %>

<%= l(:label_commission_rep_plural) %>

<%= l(:text_commission_reps) %>

<% if @reps.empty? %>

<%= l(:label_no_data) %>

<% else %>
<% @reps.each do |rep| %> <% end %>
<%= l(:label_user) %> <%= l(:field_commission_rep_probation_until) %> <%= l(:field_active) %>
<%= link_to_user rep.user %> <%= format_date(rep.probation_until) %> <%= checked_image rep.active? %> <%= link_to sprite_icon('edit', l(:button_edit)), edit_commission_rep_path(rep), class: 'icon icon-edit' %> <%= link_to sprite_icon('del', l(:button_delete)), commission_rep_path(rep), method: :delete, data: { confirm: l(:text_are_you_sure) }, class: 'icon icon-del' %>
<% end %> <% html_title l(:label_commission_rep_plural) %>