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
Add user_id to previous/next links in activity
Oliver Günther486cc037b818
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erbindex f98d122f27c..ca7fd716ca0 100644--- a/app/views/activities/index.html.erb+++ b/app/views/activities/index.html.erb@@ -42,13 +42,21 @@ See COPYRIGHT and LICENSE files for more details.<div style="float:left;"><%= link_to_content_update(t(:label_previous),- { from: (@date_to - @days - 1), with_subprojects: @with_subprojects ? '1' : '0' },+ {+ from: (@date_to - @days - 1),+ with_subprojects: @with_subprojects ? '1' : '0',+ user_id: params[:user_id]+ }.compact,{title: t(:label_date_from_to, start: format_date(@date_to - 2*@days), end: format_date(@date_to - @days - 1)),class: 'navigate-left'}) %></div><div style="float:right;"><%= link_to_content_update(t(:label_next),- { from: (@date_to + @days - 1), with_subprojects: @with_subprojects ? '1' : '0' },+ {+ from: (@date_to + @days - 1),+ with_subprojects: @with_subprojects ? '1' : '0',+ user_id: params[:user_id]+ }.compact,{title: t(:label_date_from_to, start: format_date(@date_to), end: format_date(@date_to + @days - 1)),class: 'navigate-right'}) unless @date_to >= Date.today %></div>