annotate .svn/pristine/f8/f846d7d039c0bdc5b66ea308bea533d21faf326b.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

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