Actions
Patch #16381
closedExtract code to render project context links to helper
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
The attached patch is against trunk r12982.
Currently the logic to determine which links to show in the project view (app/views/projects/index.html.erb) is in the view itself. The current paradigm assumes the activity link always being shown. However if one wanted to hide that, or disable it (#1543), there is an extra separator left.
This patch will join the array of permissioned links with the separator in the projects helper; and return the html to render.
Files
Updated by Jean-Philippe Lang over 10 years ago
- Category changed from Projects to Code cleanup/refactoring
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.5.1
Patch applied in r12986, thanks.
Actions