OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/my_projects_overviews/blocks/_issue_tracking.html.erb

37 lines
1.5 KiB

<%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<h2 class="page-layout-only"><%=l(:label_issue_tracking)%></h2>
<h3><%=l(:label_issue_tracking)%></h3>
<% if User.current.allowed_to?(:view_issues, project) %>
<div class="issues overview">
<ul>
<% for tracker in trackers %>
<li><%= link_to h(tracker.name), :controller => '/work_packages', :action => 'index', :project_id => project,
:set_filter => 1,
"tracker_id" => tracker.id %>:
<%= l(:label_x_open_issues_abbr_on_total, :count => open_issues_by_tracker[tracker].to_i,
:total => total_issues_by_tracker[tracker].to_i) %>
</li>
<% end %>
</ul>
<p>
<%= link_to l(:label_issue_view_all), :controller => '/work_packages', :action => 'index', :project_id => project, :set_filter => 1 %>
<% if User.current.allowed_to?(:view_calendar, project, :global => true) %>
| <%= link_to(l(:label_calendar), :controller => '/calendars', :action => 'show', :project_id => project) %>
<% end %>
<% if User.current.allowed_to?(:view_gantt, project, :global => true) %>
| <%= link_to(l(:label_gantt), :controller => '/gantts', :action => 'show', :project_id => project) %>
<% end %>
</p>
</div>
<% end %>