You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.erb 1.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div class="contextual">
  2. <%= form_tag({}, :method => :get) do %>
  3. <% end %>
  4. <%= render_project_action_links %>
  5. </div>
  6. <h2><%= @query.new_record? ? l(:label_project_plural) : @query.name %></h2>
  7. <%= form_tag(projects_path(@project, nil), :method => :get, :id => 'query_form') do %>
  8. <%= render :partial => 'queries/query_form' %>
  9. <% end %>
  10. <% if @query.valid? %>
  11. <% if @entries.empty? %>
  12. <p class="nodata"><%= l(:label_no_data) %></p>
  13. <% else %>
  14. <%= render :partial => @query.display_type, :locals => { :entries => @entries }%>
  15. <span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
  16. <% end %>
  17. <% end %>
  18. <% if User.current.logged? %>
  19. <p style="text-align:right;">
  20. <span class="icon icon-user my-project"><%= l(:label_my_projects) %></span>
  21. </p>
  22. <% end %>
  23. <% content_for :sidebar do %>
  24. <%= render :partial => 'projects/sidebar' %>
  25. <% end %>
  26. <% other_formats_links do |f| %>
  27. <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
  28. <% end %>
  29. <% html_title(l(:label_project_plural)) -%>