To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / plugins / redmine_tags / app / views / projects / index.html.erb @ 1273:052ea7c838f6
History | View | Annotate | Download (1.31 KB)
| 1 |
<% content_for :header_tags do %>
|
|---|---|
| 2 |
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
| 3 |
<%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
|
| 4 |
<% end %>
|
| 5 |
|
| 6 |
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
|
| 7 |
|
| 8 |
<div class="contextual"> |
| 9 |
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
| 10 |
<%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
| 11 |
</div>
|
| 12 |
|
| 13 |
<div style="clear:both;"></div> |
| 14 |
<h2>
|
| 15 |
<%= l("label_project_all") %>
|
| 16 |
</h2>
|
| 17 |
|
| 18 |
<div style="clear:both;"></div> |
| 19 |
|
| 20 |
<%= form_tag :projects, :method => :get do -%>
|
| 21 |
<div>
|
| 22 |
<p class='q'> |
| 23 |
<%= label_tag 'search', l('project_filtering_q_label') %>
|
| 24 |
<%= text_field_tag 'search', params[:search] -%>
|
| 25 |
</p>
|
| 26 |
|
| 27 |
<div id='filter_tags'> |
| 28 |
<%= render :partial => 'filter_search_tags' -%>
|
| 29 |
</div>
|
| 30 |
|
| 31 |
<%= submit_tag :search, :name => "Search" %>
|
| 32 |
|
| 33 |
</div>
|
| 34 |
<%- end -%>
|
| 35 |
|
| 36 |
<div id="projects"> |
| 37 |
<%= render :partial => 'filtered_projects' %>
|
| 38 |
</div>
|
| 39 |
|
| 40 |
<% other_formats_links do |f| %>
|
| 41 |
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
| 42 |
<% end %>
|
| 43 |
|
| 44 |
<% html_title(l(:label_project_plural)) -%>
|