Revision 780:31b3aa308568 vendor/plugins/redmine_tags/app
| vendor/plugins/redmine_tags/app/views/auto_completes/_search_tag_list.html.erb | ||
|---|---|---|
| 1 |
<ul> |
|
| 2 |
<% @tags.each do |tag| -%> |
|
| 3 |
<%= content_tag 'li', h('%s (%d)' % [tag.name, tag.count]), :name => tag.name %>
|
|
| 4 |
<% end -%> |
|
| 5 |
</ul> |
|
| vendor/plugins/redmine_tags/app/views/auto_completes/_tag_list.html.erb | ||
|---|---|---|
| 2 | 2 |
<% @tags.each do |tag| -%> |
| 3 | 3 |
<%= content_tag 'li', h('%s (%d)' % [tag.name, tag.count]), :name => tag.name %>
|
| 4 | 4 |
<% end -%> |
| 5 |
<%= content_tag 'li', l(:auto_complete_new_tag) % @name, :name => @name %> |
|
| 5 |
<%= content_tag 'li', l(:auto_complete_new_tag) % @name, :name => @name %>
|
|
| 6 | 6 |
</ul> |
| vendor/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb | ||
|---|---|---|
| 1 |
<p class='tag'> |
|
| 2 |
<% fields_for @project, :builder => TabularFormBuilder do |f| -%> |
|
| 3 |
<div> |
|
| 4 |
<p id="project_tags"> |
|
| 5 |
<%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %> |
|
| 6 |
</p> |
|
| 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)}')" %>
|
|
| 11 |
</div> |
|
| 12 |
<% end -%> |
|
| 13 |
</p> |
|
| vendor/plugins/redmine_tags/app/views/projects/_my_projects.rhtml | ||
|---|---|---|
| 1 |
<fieldset id="filters" class="collapsible"> |
|
| 2 |
<legend onclick="toggleFieldset(this);"><%= l(:label_my_projects) %></legend> |
|
| 1 |
<% if @myproj_status=="true" %> |
|
| 2 |
<fieldset id="my_projects_fieldset" class="collapsible"> |
|
| 3 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_my_projects) %></legend> |
|
| 4 |
<% else %> |
|
| 5 |
<fieldset id="my_projects_fieldset" class="collapsible collapsed"> |
|
| 6 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_my_projects) %></legend> |
|
| 7 |
<div style="display: none;"> |
|
| 8 |
<% end%> |
|
| 3 | 9 |
<% if @user_projects %> |
| 4 | 10 |
<div> |
| 5 | 11 |
<%= render_my_project_hierarchy(@user_projects)%> |
| vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb | ||
|---|---|---|
| 3 | 3 |
<p id="project_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %></p> |
| 4 | 4 |
<div id="project_tag_candidates" class="autocomplete"></div> |
| 5 | 5 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> |
| 6 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => project)}')" %>
|
|
| 6 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => project)}', false)" %>
|
|
| 7 | 7 |
</div> |
| 8 | 8 |
<% end -%> |
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 1 | 1 |
<% content_for :header_tags do %> |
| 2 | 2 |
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
| 3 | 3 |
<% end %> |
| 4 |
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %> |
|
| 5 |
|
|
| 4 | 6 |
|
| 5 | 7 |
<div class="contextual"> |
| 6 | 8 |
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
| ... | ... | |
| 14 | 16 |
<%= render :partial => 'my_projects' %> |
| 15 | 17 |
<% end %> |
| 16 | 18 |
|
| 19 |
<div style="clear:both;"></div> |
|
| 20 |
<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %> |
|
| 17 | 21 |
|
| 18 |
<div style="clear:both;"></div> |
|
| 19 |
<% form_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %> |
|
| 20 |
<fieldset id="filters" class="collapsible"> |
|
| 21 |
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |
|
| 22 |
<% if @filter_status=="true" %> |
|
| 23 |
<fieldset id="filters_fieldset" class="collapsible"> |
|
| 24 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 25 |
<% else %> |
|
| 26 |
<fieldset id="filters_fieldset" class="collapsible collapsed"> |
|
| 27 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend> |
|
| 28 |
<div style="display: none;"> |
|
| 29 |
<% end %> |
|
| 22 | 30 |
<div> |
| 23 | 31 |
<p class='q'> |
| 24 | 32 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
| ... | ... | |
| 26 | 34 |
</p> |
| 27 | 35 |
|
| 28 | 36 |
<div id='filter_tags'> |
| 29 |
<%= render :partial => 'filter_tags' %> |
|
| 37 |
<%= render :partial => 'filter_search_tags' %>
|
|
| 30 | 38 |
</div> |
| 31 | 39 |
|
| 32 | 40 |
<p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
|
Also available in: Unified diff