annotate .svn/pristine/f8/f846d7d039c0bdc5b66ea308bea533d21faf326b.svn-base @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +0100
parents
children
rev   line source
Chris@1296 1 <% content_for :header_tags do %>
Chris@1296 2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
Chris@1296 3 <% end %>
Chris@1296 4
Chris@1296 5 <div class="contextual">
Chris@1296 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) %>
Chris@1296 7 <%= link_to(l(:label_issue_view_all), issues_path) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
Chris@1296 8 <%= link_to(l(:label_overall_spent_time), time_entries_path) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
Chris@1296 9 <%= link_to l(:label_overall_activity),
Chris@1296 10 { :controller => 'activities', :action => 'index',
Chris@1296 11 :id => nil } %>
Chris@1296 12 </div>
Chris@1296 13
Chris@1296 14 <h2><%=l(:label_project_plural)%></h2>
Chris@1296 15
Chris@1296 16 <div id="projects-index">
Chris@1296 17 <%= render_project_hierarchy(@projects)%>
Chris@1296 18 </div>
Chris@1296 19
Chris@1296 20 <% if User.current.logged? %>
Chris@1296 21 <p style="text-align:right;">
Chris@1296 22 <span class="my-project"><%= l(:label_my_projects) %></span>
Chris@1296 23 </p>
Chris@1296 24 <% end %>
Chris@1296 25
Chris@1296 26 <% other_formats_links do |f| %>
Chris@1296 27 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
Chris@1296 28 <% end %>
Chris@1296 29
Chris@1296 30 <% content_for :sidebar do %>
Chris@1296 31 <%= form_tag({}, :method => :get) do %>
Chris@1296 32 <h3><%= l(:label_project_plural) %></h3>
Chris@1296 33 <label for="closed"><%= check_box_tag 'closed', 1, params[:closed] %> <%= l(:label_show_closed_projects) %></label>
Chris@1296 34 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
Chris@1296 35 <% end %>
Chris@1296 36 <% end %>
Chris@1296 37
Chris@1296 38 <% html_title(l(:label_project_plural)) -%>