Merge pull request #56 from HDinger/fix/24116-delete-and-deactivate-in-export-cards-config-have-some-icon

[24116] Delete and deactivate in export cards config have some icon
pull/6827/head
Oliver Günther 8 years ago committed by GitHub
commit 88b94be062
  1. 4
      app/views/export_card_configurations/index.html.erb

@ -105,13 +105,13 @@ See doc/COPYRIGHT.md for more details.
<% end %>
<% end %>
<% if config.can_activate? %>
<%= link_to activate_pdf_export_export_card_configuration_path(config), :method => :post, :class => 'icon-context icon-delete' do %>
<%= link_to activate_pdf_export_export_card_configuration_path(config), :method => :post, :class => 'icon-context icon-unlocked' do %>
<%= t(:label_export_card_activate) %>
<span class="hidden-for-sighted"><%=h config.name %></span>
<% end %>
<% end %>
<% if config.can_deactivate? %>
<%= link_to deactivate_pdf_export_export_card_configuration_path(config), :method => :post, :class => 'icon-context icon-delete' do %>
<%= link_to deactivate_pdf_export_export_card_configuration_path(config), :method => :post, :class => 'icon-context icon-locked' do %>
<%= t(:label_export_card_deactivate) %>
<span class="hidden-for-sighted"><%=h config.name %></span>
<% end %>

Loading…
Cancel
Save