OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Correct html structure of the toolbar items to senure correct spacings
Henriette Dargea481074b23b1
diff --git a/app/views/users/_toolbar.html.erb b/app/views/users/_toolbar.html.erbindex a7c07cd796e..1dae67593a6 100644--- a/app/views/users/_toolbar.html.erb+++ b/app/views/users/_toolbar.html.erb@@ -35,9 +35,9 @@ See COPYRIGHT and LICENSE files for more details.</li><% if current_user.allowed_globally?(:create_user) %><li class="toolbar-item hidden-for-tablet">- <%= form_for(@user, html: { class: 'toolbar-item' },- url: { action: :resend_invitation },- method: :post) do |_form| %>+ <%= form_for(@user,+ url: { action: :resend_invitation },+ method: :post) do |_form| %><button class="button" title="<%= t(:tooltip_resend_invitation) %>"><%= op_icon('button--icon icon-mail1') %><span class="button--text"><%= t(:label_send_invitation) %></span>@@ -47,12 +47,13 @@ See COPYRIGHT and LICENSE files for more details.<% end %><% if current_user.admin? %><% unless current_user.id == @user.id %>- <%= form_for @user, html: { class: 'toolbar-item hidden-for-tablet' }, :url => { :action => :change_status },- :method => :post do %>- <li>- <%= change_user_status_buttons(@user) %>- </li>- <% end %>+ <li class="toolbar-item hidden-for-tablet">+ <%= form_for @user,+ :url => { :action => :change_status },+ :method => :post do %>+ <%= change_user_status_buttons(@user) %>+ <% end %>+ </li><% end %><% if Setting.users_deletable_by_admins? %><li class="toolbar-item">