annotate app/views/projects/index.rhtml @ 1452:d6b9fd02bb89 feature_36_js_refactoring

Deprecated develoment branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 11 Oct 2013 17:01:24 +0100
parents edce3dafd217
children
rev   line source
Chris@0 1 <% content_for :header_tags do %>
Chris@0 2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
Chris@0 3 <% end %>
Chris@0 4
Chris@0 5 <div class="contextual">
chris@22 6 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
Chris@100 7 <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
Chris@0 8 </div>
Chris@0 9
chris@123 10 <% if @user_projects %>
luisf@69 11
chris@123 12 <%= render_my_project_hierarchy(@user_projects)%>
Chris@0 13
luisf@69 14 <% end %>
luisf@69 15
chris@124 16 <h2>
chris@124 17 <%= l("label_project_all") %>
chris@124 18 </h2>
chris@124 19
chris@124 20 <%= render_project_table(@projects) %>
chris@123 21
chris@123 22 <p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
luisf@69 23
Chris@0 24
Chris@0 25 <% other_formats_links do |f| %>
Chris@0 26 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
Chris@0 27 <% end %>
Chris@0 28
Chris@0 29 <% html_title(l(:label_project_plural)) -%>