Skip to content

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

use green button on forum

ulfertscf60cca54413
diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb
index bea83b9e73e..bd52d4d56fd 100644
--- a/app/views/forums/index.html.erb
+++ b/app/views/forums/index.html.erb
@@ -30,10 +30,10 @@ See docs/COPYRIGHT.rdoc for more details.
<%= toolbar title: t(:label_forum_plural) do %>
<% if User.current.allowed_to?(:manage_forums, @project) %>
<li class="toolbar-item">
- <%= link_to({ controller: '/forums', action: 'new', project_id: @project },
- { aria: { label: t(:label_forum_new) },
- title: t(:label_forum_new),
- class: 'button -highlight' }) do %>
+ <%= link_to(new_project_forum_path(@project),
+ { aria: { label: t(:label_forum_new) },
+ title: t(:label_forum_new),
+ class: 'button -alt-highlight' }) do %>
<%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= t('activerecord.models.forum') %></span>
<% end %>