Icon accessibility [belongs to #5423]

pull/6827/head
Oliver Günther 8 years ago
parent 1216a934de
commit efe29926fe
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      app/views/projects/settings/_versions.html.erb
  2. 2
      lib/open_project/backlogs/engine.rb

@ -158,7 +158,7 @@ See doc/COPYRIGHT.rdoc for more details.
{ class: 'button -alt-highlight',
aria: {label: t(:label_version_new)},
title: t(:label_version_new)}) do %>
<i class="button--icon icon-add"></i>
<%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= l(:label_version) %></span>
<% end %>
</div>

@ -108,7 +108,7 @@ module OpenProject::Backlogs
before: :calendar,
param: :project_id,
if: proc { not(User.current.respond_to?(:impaired?) and User.current.impaired?) },
html: { class: 'icon2 icon-backlogs' }
icon: 'icon2 icon-backlogs'
end
assets %w(

Loading…
Cancel
Save