To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_tags / app / views / projects / index.rhtml @ 762:7dc4d205233e
History | View | Annotate | Download (1.64 KB)
| 1 | 739:b7ac21913927 | luis | <% content_for :header_tags do %>
|
|---|---|---|---|
| 2 | <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
||
| 3 | <% end %>
|
||
| 4 | |||
| 5 | <div class="contextual"> |
||
| 6 | <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
||
| 7 | <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
||
| 8 | </div>
|
||
| 9 | |||
| 10 | 755:bde9c5bfb559 | luis | |
| 11 | |||
| 12 | <div style="clear:both;"></div> |
||
| 13 | <% if User.current.logged? %>
|
||
| 14 | <%= render :partial => 'my_projects' %>
|
||
| 15 | <% end %>
|
||
| 16 | |||
| 17 | |||
| 18 | <div style="clear:both;"></div> |
||
| 19 | 759:7d58183fd14c | luis | <% form_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
|
| 20 | 739:b7ac21913927 | luis | <fieldset id="filters" class="collapsible"> |
| 21 | <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |
||
| 22 | <div>
|
||
| 23 | <p class='q'> |
||
| 24 | <%= label_tag 'q', l('project_filtering_q_label') %>
|
||
| 25 | <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
|
||
| 26 | </p>
|
||
| 27 | 754:51d6290d3027 | luis | |
| 28 | <div id='filter_tags'> |
||
| 29 | <%= render :partial => 'filter_tags' %>
|
||
| 30 | </div>
|
||
| 31 | 755:bde9c5bfb559 | luis | |
| 32 | <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p> |
||
| 33 | 739:b7ac21913927 | luis | </div>
|
| 34 | </fieldset>
|
||
| 35 | <% end %>
|
||
| 36 | |||
| 37 | <div style="clear:both;"></div> |
||
| 38 | <h2>
|
||
| 39 | <%= l("label_project_all") %>
|
||
| 40 | </h2>
|
||
| 41 | |||
| 42 | 755:bde9c5bfb559 | luis | <div id="projects"> |
| 43 | <%= render :partial => 'filtered_projects' %>
|
||
| 44 | </div>
|
||
| 45 | 739:b7ac21913927 | luis | |
| 46 | <p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p> |
||
| 47 | |||
| 48 | |||
| 49 | <% other_formats_links do |f| %>
|
||
| 50 | <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
||
| 51 | <% end %>
|
||
| 52 | |||
| 53 | <% html_title(l(:label_project_plural)) -%> |