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
Prevent whitespace in wiki print button
Oliver Güntherc7ba7b8cdea6
diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erbindex 22415b81ee1..78bda1c816d 100644--- a/app/views/wiki/show.html.erb+++ b/app/views/wiki/show.html.erb@@ -103,9 +103,7 @@ See COPYRIGHT and LICENSE files for more details.<%= li_unless_nil(link_to_if_authorized(t(:label_history), {action: 'history', id: @page}, class: 'icon-context icon-activity-history')) %><%= li_unless_nil(link_to_if_authorized(t(:button_manage_menu_entry), {controller: '/wiki_menu_items', action: 'edit', project_id: @project.identifier, id: @page}, class: 'icon-context icon-settings')) %><li>- <a class="icon-context icon-print op-wiki-context-print" title="<%= t('wiki.print_hint') %>">- <%= t(:button_print) %>- </a>+ <%= link_to t(:button_print), '', title: t('wiki.print_hint'), class: 'icon-context icon-print op-wiki-context-print' %></li><% if User.current.allowed_to?(:export_wiki_pages, @project) %><section data-augmented-model-wrapper