##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13893:6659aad3ef65
r15119:53710d80fc88
Show More
_sidebar.html.erb
14 lines | 625 B | text/plain | TextLexer
Jean-Philippe Lang
Adds a role setting that viewing all or own time entries (#8929)....
r13893 <% if User.current.allowed_to?(:view_time_entries, @project) %>
Jean-Philippe Lang
Moves project sidebar content to a partial (#17380)....
r13030 <h3><%= l(:label_spent_time) %></h3>
Jean-Philippe Lang
Adds a role setting that viewing all or own time entries (#8929)....
r13893 <% if @total_hours.present? %>
<p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p>
<% end %>
Jean-Philippe Lang
Moves project sidebar content to a partial (#17380)....
r13030 <p>
<% if User.current.allowed_to?(:log_time, @project) %>
<%= link_to l(:button_log_time), new_project_time_entry_path(@project) %> |
<% end %>
<%= link_to(l(:label_details), project_time_entries_path(@project)) %> |
<%= link_to(l(:label_report), report_project_time_entries_path(@project)) %>
</p>
<% end %>
<%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>