Revision 805:0b1b94ffb30f vendor/plugins/redmine_tags/app/views/projects
| vendor/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb | ||
|---|---|---|
| 1 | 1 |
<p class='tag'> |
| 2 |
<% fields_for @project, :builder => TabularFormBuilder do |f| -%> |
|
| 2 |
<%- fields_for @project, :builder => TabularFormBuilder do |f| -%>
|
|
| 3 | 3 |
<div> |
| 4 | 4 |
<p id="project_tags"> |
| 5 |
<%= f.text_field :tag_list, :label => :label_tags_search, :size => 60, :class => 'hol' %> |
|
| 5 |
<%= f.text_field :tag_list, :label => :label_tags_search, :size => 60, :class => 'hol' -%>
|
|
| 6 | 6 |
</p> |
| 7 | 7 |
<div id="project_tag_candidates" class="autocomplete"></div> |
| 8 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> |
|
| 9 |
|
|
| 10 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_search_tags', :project_id => Project.first.id)}', true)" %>
|
|
| 8 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' -%> |
|
| 9 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_search_tags', :project_id => Project.first.id)}', true)" -%>
|
|
| 11 | 10 |
</div> |
| 12 |
<% end -%> |
|
| 11 |
<%- end -%>
|
|
| 13 | 12 |
</p> |
| vendor/plugins/redmine_tags/app/views/projects/_my_projects.rhtml | ||
|---|---|---|
| 10 | 10 |
<div> |
| 11 | 11 |
<%= render_my_project_hierarchy_with_tags(@user_projects)%> |
| 12 | 12 |
</div> |
| 13 |
<% unless @myproj_status=="true" %> |
|
| 14 |
</div> |
|
| 15 |
<%- end -%> |
|
| 13 | 16 |
<% end %> |
| 14 | 17 |
</fieldset> |
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 22 | 22 |
</h2> |
| 23 | 23 |
|
| 24 | 24 |
<div style="clear:both;"></div> |
| 25 |
<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do %>
|
|
| 25 |
<%- form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do -%>
|
|
| 26 | 26 |
|
| 27 |
<% if @filter_status=="true" %> |
|
| 28 |
<fieldset id="filters_fieldset" class="collapsible"> |
|
| 29 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 30 |
<% else %>
|
|
| 31 |
<fieldset id="filters_fieldset" class="collapsible collapsed"> |
|
| 32 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 27 |
<% if @filter_status=="true" %>
|
|
| 28 |
<fieldset id="filters_fieldset" class="collapsible">
|
|
| 29 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
|
|
| 30 |
<%- else -%>
|
|
| 31 |
<fieldset id="filters_fieldset" class="collapsible collapsed">
|
|
| 32 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
|
|
| 33 | 33 |
<div style="display: none;"> |
| 34 |
<% end %> |
|
| 35 |
<div> |
|
| 34 |
<%- end -%> |
|
| 36 | 35 |
|
| 37 |
<div id='filter_tags'> |
|
| 38 |
<%= render :partial => 'filter_search_tags' %> |
|
| 36 |
<div> |
|
| 37 |
<div id='filter_tags'> |
|
| 38 |
<%= render :partial => 'filter_search_tags' -%> |
|
| 39 |
</div> |
|
| 40 |
|
|
| 41 |
<p class='q'> |
|
| 42 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
|
| 43 |
<%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %> |
|
| 44 |
</p> |
|
| 45 |
|
|
| 46 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
|
| 47 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' -%>
|
|
| 48 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
|
| 49 |
</div> |
|
| 50 |
|
|
| 51 |
<% unless @filter_status=="true" %> |
|
| 39 | 52 |
</div> |
| 53 |
<%- end -%> |
|
| 40 | 54 |
|
| 41 |
<p class='q'> |
|
| 42 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
|
| 43 |
<%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %> |
|
| 44 |
</p> |
|
| 45 | 55 |
|
| 46 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
|
| 47 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' %>
|
|
| 48 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
|
| 49 |
</div> |
|
| 50 |
</fieldset> |
|
| 51 |
<% end %> |
|
| 56 |
<%- end -%> |
|
| 57 |
</fieldset> |
|
| 52 | 58 |
|
| 53 | 59 |
<div id="projects"> |
| 54 | 60 |
<%= render :partial => 'filtered_projects' %> |
Also available in: Unified diff