Mercurial > hg > soundsoftware-site
comparison app/views/projects/.svn/text-base/index.rhtml.svn-base @ 22:40f7cfd4df19
* Update to SVN trunk rev 4173
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 24 Sep 2010 14:06:04 +0100 |
parents | 513646585e45 |
children |
comparison
equal
deleted
inserted
replaced
14:1d32c0a0efbf | 22:40f7cfd4df19 |
---|---|
1 <% content_for :header_tags do %> | 1 <% content_for :header_tags do %> |
2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> | 2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> |
3 <% end %> | 3 <% end %> |
4 | 4 |
5 <div class="contextual"> | 5 <div class="contextual"> |
6 <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %> | 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) %> | 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) %> | 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 => 'projects', :action => 'activity' }%> | 9 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%> |
10 </div> | 10 </div> |
11 | 11 |
12 <h2><%=l(:label_project_plural)%></h2> | 12 <h2><%=l(:label_project_plural)%></h2> |
13 | 13 |
14 <%= render_project_hierarchy(@projects)%> | 14 <%= render_project_hierarchy(@projects)%> |