Project

General

Profile

Actions

Patch #8772

closed

Provide a hook for projects index contextual menu customization

Added by Alex Shulgin over 13 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hook requests
Target version:
-
Start date:
2011-07-08
Due date:
% Done:

0%

Estimated time:

Description

Attached patch adds a new hook called :view_projects_index_activity_menu. It allows plugins to add more links to the contextual menu at the projects index page.

The menu is currently fixed to:

New project | View all issues | Overall spent time | Overall activity

The patch allows to add more links like this, before the last one: 'Overall activity'.

Example of usage: https://github.com/commandprompt/redmine_pastebin/blob/master/app/views/hooks/_view_projects_index_activity_menu.html.erb (adds 'View all pastes' link.)


Files


Related issues

Is duplicate of Redmine - Patch #11492: Added :view_projects_index_activity_menu hookClosed

Actions
Actions

Also available in: Atom PDF