Project

General

Profile

Actions

Patch #8772

closed

Provide a hook for projects index contextual menu customization

Patch #8772: Provide a hook for projects index contextual menu customization

Added by Alex Shulgin over 15 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hook requests
Target version:
-

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 1 (0 open — 1 closed)

Is duplicate of Redmine - Patch #11492: Added :view_projects_index_activity_menu hookClosedActions
Actions

Also available in: PDF Atom