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
Move create button to the toolbar
Henriette Dinger5bee8df7c18b
diff --git a/app/views/attribute_help_texts/index.html.erb b/app/views/attribute_help_texts/index.html.erbindex b11fe0a81ce..31de026c5ea 100644--- a/app/views/attribute_help_texts/index.html.erb+++ b/app/views/attribute_help_texts/index.html.erb@@ -26,7 +26,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See docs/COPYRIGHT.rdoc for more details.++#%>-<%= toolbar title: t(:'attribute_help_texts.label_plural') %>+<% name = 'WorkPackage' %>++<%= toolbar title: t(:'attribute_help_texts.label_plural') do %>+ <li class="toolbar-item">+ <%= link_to new_attribute_help_text_path(name: name),+ { class: 'attribute-help-texts--create-button button -alt-highlight',+ aria: {label: t(:'attribute_help_texts.add_new')},+ title: t(:'attribute_help_texts.add_new')} do %>+ <%= op_icon('button--icon icon-add') %>+ <span class="button--text"><%= t('activerecord.models.attribute_help_text') %></span>+ <% end %>+ </li>+<% end %><div class="notification-box -info"><div class="notification-box--content">@@ -35,7 +47,6 @@ See docs/COPYRIGHT.rdoc for more details.</div><% html_title(t(:label_administration), t(:'attribute_help_texts.label_plural')) -%>-<% name = 'WorkPackage' %><% entries = @texts_by_type[name] || [] %><% if entries.any? %>@@ -105,13 +116,3 @@ See docs/COPYRIGHT.rdoc for more details.<% else %><%= no_results_box %><% end %>--<div class="generic-table--action-buttons">- <%= link_to new_attribute_help_text_path(name: name),- { class: 'attribute-help-texts--create-button button -alt-highlight',- aria: {label: t(:'attribute_help_texts.add_new')},- title: t(:'attribute_help_texts.add_new')} do %>- <%= op_icon('button--icon icon-add') %>- <span class="button--text"><%= t('activerecord.models.attribute_help_text') %></span>- <% end %>-</div>