To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / projects / index.rhtml @ 441:cbce1fd3b1b7
History | View | Annotate | Download (1.13 KB)
| 1 |
<% content_for :header_tags do %>
|
|---|---|
| 2 |
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
| 3 |
<% end %>
|
| 4 |
|
| 5 |
<div class="contextual"> |
| 6 |
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
| 7 |
<%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
|
| 8 |
<%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
|
| 9 |
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
| 10 |
</div>
|
| 11 |
|
| 12 |
<h2><%=l(:label_project_plural)%></h2> |
| 13 |
|
| 14 |
<%= render_project_hierarchy(@projects)%>
|
| 15 |
|
| 16 |
<% if User.current.logged? %>
|
| 17 |
<p style="text-align:right;"> |
| 18 |
<span class="my-project"><%= l(:label_my_projects) %></span> |
| 19 |
</p>
|
| 20 |
<% end %>
|
| 21 |
|
| 22 |
<% other_formats_links do |f| %>
|
| 23 |
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
| 24 |
<% end %>
|
| 25 |
|
| 26 |
<% html_title(l(:label_project_plural)) -%>
|