Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,31 +1,38 @@
|
|||
<% content_for :header_tags do %>
|
||||
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
||||
<% end %>
|
||||
|
||||
<div class="contextual">
|
||||
<%= form_tag({}, :method => :get) do %>
|
||||
<label for="closed">
|
||||
<%= check_box_tag 'closed', 1, params[:closed], :onchange => "this.form.submit();" %>
|
||||
<%= l(:label_show_closed_projects) %>
|
||||
</label>
|
||||
<% end %>
|
||||
<%= render_project_action_links %>
|
||||
</div>
|
||||
|
||||
<h2><%= l(:label_project_plural) %></h2>
|
||||
<h2><%= @query.new_record? ? l(:label_project_plural) : @query.name %></h2>
|
||||
|
||||
<div id="projects-index">
|
||||
<%= render_project_hierarchy(@projects) %>
|
||||
</div>
|
||||
<%= form_tag(projects_path(@project, nil), :method => :get, :id => 'query_form') do %>
|
||||
<%= render :partial => 'queries/query_form' %>
|
||||
<% end %>
|
||||
|
||||
<% if @query.valid? %>
|
||||
<% if @entries.empty? %>
|
||||
<p class="nodata"><%= l(:label_no_data) %></p>
|
||||
<% else %>
|
||||
<%= render :partial => @query.display_type, :locals => { :entries => @entries }%>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if User.current.logged? %>
|
||||
<p style="text-align:right;">
|
||||
<span class="icon icon-fav my-project"><%= l(:label_my_projects) %></span>
|
||||
<span class="icon icon-user my-project"><%= l(:label_my_projects) %></span>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% content_for :sidebar do %>
|
||||
<%= render :partial => 'projects/sidebar' %>
|
||||
<% end %>
|
||||
|
||||
<% other_formats_links do |f| %>
|
||||
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
||||
<% if @query.display_type == 'list' %>
|
||||
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% html_title(l(:label_project_plural)) -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue