Revision 1252:fe3777d42b76 plugins/redmine_tags/app/views
| plugins/redmine_tags/app/views/projects/index.html.erb | ||
|---|---|---|
| 4 | 4 |
<% end %> |
| 5 | 5 |
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %> |
| 6 | 6 |
|
| 7 |
|
|
| 8 | 7 |
<div class="contextual"> |
| 9 | 8 |
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
| 10 | 9 |
<%= ('| ' + 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) %>
|
| ... | ... | |
| 16 | 15 |
</h2> |
| 17 | 16 |
|
| 18 | 17 |
<div style="clear:both;"></div> |
| 19 |
<%- form_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}, :remote => true) do -%>
|
|
| 18 |
<%= form_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}, :remote => true) do -%>
|
|
| 20 | 19 |
|
| 21 |
<% if @filter_status=="true" %> |
|
| 22 |
<fieldset id="filters_fieldset" class="collapsible"> |
|
| 23 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 24 |
<%- else -%> |
|
| 25 |
<fieldset id="filters_fieldset" class="collapsible collapsed"> |
|
| 26 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 27 |
<div style="display: none;"> |
|
| 28 |
<%- end -%> |
|
| 20 |
<fieldset id="filters_fieldset" class="collapsible"> |
|
| 21 |
<legend><%= l(:label_filter_plural) %></legend> |
|
| 29 | 22 |
|
| 30 |
<div> |
|
| 31 |
<div id='filter_tags'> |
|
| 32 |
<%= render :partial => 'filter_search_tags' -%> |
|
| 33 |
</div> |
|
| 23 |
<div>
|
|
| 24 |
<div id='filter_tags'>
|
|
| 25 |
<%= render :partial => 'filter_search_tags' -%>
|
|
| 26 |
</div>
|
|
| 34 | 27 |
|
| 35 |
<p class='q'> |
|
| 36 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
|
| 37 |
<%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %> |
|
| 38 |
</p> |
|
| 28 |
<p class='q'>
|
|
| 29 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
|
| 30 |
<%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
|
|
| 31 |
</p>
|
|
| 39 | 32 |
|
| 40 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
|
| 41 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' -%>
|
|
| 42 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
|
| 43 |
</div> |
|
| 33 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
|
| 34 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' -%>
|
|
| 35 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
|
| 36 |
</div>
|
|
| 44 | 37 |
|
| 45 |
<% unless @filter_status=="true" %> |
|
| 46 |
</div> |
|
| 47 |
<%- end -%> |
|
| 38 |
</fieldset> |
|
| 39 |
<%- end -%> |
|
| 48 | 40 |
|
| 49 | 41 |
|
| 50 |
<%- end -%> |
|
| 51 |
</fieldset> |
|
| 52 |
|
|
| 53 | 42 |
<div id="projects"> |
| 54 | 43 |
<%= render :partial => 'filtered_projects' %> |
| 55 | 44 |
</div> |
| 56 | 45 |
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 | 46 |
<% other_formats_links do |f| %> |
| 61 | 47 |
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
| 62 | 48 |
<% end %> |
Also available in: Unified diff