Merge pull request #230 from HDinger/fix/23980-add-buttons-are-not-consistently-used

[23980] Add buttons are not consistently used (Backlogs)
pull/6827/head
Henriette Dinger 8 years ago committed by GitHub
commit ecded47a05
  1. 6
      app/views/projects/settings/_versions.html.erb

@ -156,9 +156,11 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
<div class="generic-table--action-buttons">
<%= link_to_if_authorized({ controller: '/versions', action: 'new', project_id: @project },
class: 'button -alt-highlight') do %>
{ class: 'button -alt-highlight',
aria: {label: t(:label_version_new)},
title: t(:label_version_new)}) do %>
<i class="button--icon icon-add"></i>
<span class="button--text"><%= l(:label_version_new) %></span>
<span class="button--text"><%= l(:label_version) %></span>
<% end %>
</div>
<% else %>

Loading…
Cancel
Save