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
Hide project name for project activity items
Christophe Bliardb49bbe76c15f
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erbindex 03b114e54ef..629cfbe782f 100644--- a/app/views/activities/index.html.erb+++ b/app/views/activities/index.html.erb@@ -42,8 +42,10 @@ See COPYRIGHT and LICENSE files for more details.<li class="op-project-activity-list--item"><div class="op-project-activity-list--item-title">- <%= link_to format_activity_title(e.event_title), e.event_path%>- (Project: <%= content_tag('span', link_to(e.project.name, e.project), class: 'project') %>)+ <%= link_to format_activity_title(e.event_title), e.event_path %>+ <% if journal.journable_type != 'Project' -%>+ (Project: <%= content_tag('span', link_to(e.project.name, e.project), class: 'project') %>)+ <% end -%></div><div class="op-project-activity-list--item-subtitle"><%= journal.initial? ? "created by" : "updated by" %> <%= avatar(e.event_author, size: 'mini') if e.respond_to?(:event_author) %> <span class="spot-caption spot-caption_bold"><%= link_to_user(e.event_author) if e.respond_to?(:event_author) %></span> on <%= format_time(e.event_datetime.to_time, true) %>