Revision 756:18b0f6e6d7a8 vendor/plugins/redmine_tags/app/views
| vendor/plugins/redmine_tags/app/views/auto_completes/_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 |
<%= content_tag 'li', l(:auto_complete_new_tag) % @name, :name => @name %> |
|
| 6 |
</ul> |
|
| vendor/plugins/redmine_tags/app/views/issues/_tags.html.erb | ||
|---|---|---|
| 1 |
<% unless issue.tag_list.empty? %> |
|
| 2 |
<tr> |
|
| 3 |
<td><b><%=l(:tags)%>:</b></td> |
|
| 4 |
<td><%= issue.tag_counts.collect{ |t| render_tag_link(t, :show_count => false, :open_only => false) }.join(', ') %></td>
|
|
| 5 |
</tr> |
|
| 6 |
<% end %> |
|
| vendor/plugins/redmine_tags/app/views/issues/_tags_form.html.erb | ||
|---|---|---|
| 1 |
<% fields_for :issue, issue, :builder => TabularFormBuilder do |f| -%> |
|
| 2 |
<div> |
|
| 3 |
<p id="issue_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %></p> |
|
| 4 |
<div id="issue_tag_candidates" class="autocomplete"></div> |
|
| 5 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> |
|
| 6 |
<%= javascript_tag "observeIssueTagsField('#{url_for(:controller => 'auto_completes', :action => 'issue_tags', :project_id => issue.project)}')" %>
|
|
| 7 |
</div> |
|
| 8 |
<% end -%> |
|
| vendor/plugins/redmine_tags/app/views/issues/_tags_sidebar.html.erb | ||
|---|---|---|
| 1 |
<% unless sidebar_tags.empty? -%> |
|
| 2 |
<%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> |
|
| 3 |
<h3><%= l(:tags) %></h3> |
|
| 4 |
<%= render_sidebar_tags %> |
|
| 5 |
<% end -%> |
|
| vendor/plugins/redmine_tags/app/views/projects/_filter_tags.rhtml | ||
|---|---|---|
| 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_tags')}')" %>
|
|
| 11 |
</div> |
|
| 12 |
<% end -%> |
|
| 13 |
</p> |
|
| vendor/plugins/redmine_tags/app/views/projects/_filtered_projects.rhtml | ||
|---|---|---|
| 1 |
<%= render_project_table_with_filtering(@filtered_projects, @question) %> |
|
| 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> |
|
| 3 |
<% if @user_projects %> |
|
| 4 |
<div> |
|
| 5 |
<%= render_my_project_hierarchy(@user_projects)%> |
|
| 6 |
</div> |
|
| 7 |
<% end %> |
|
| 8 |
</fieldset> |
|
| vendor/plugins/redmine_tags/app/views/projects/_tags.html.erb | ||
|---|---|---|
| 1 |
<% unless @project.tag_list.empty? %> |
|
| 2 |
<tr> |
|
| 3 |
<td><b><%=l(:tags)%>:</b></td> |
|
| 4 |
<td><%= @project.tag_counts.collect{ |t| render_project_tag_link(t) }.join(', ') %></td>
|
|
| 5 |
</tr> |
|
| 6 |
<% end %> |
|
| vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb | ||
|---|---|---|
| 1 |
<% fields_for :project, project, :builder => TabularFormBuilder do |f| -%> |
|
| 2 |
<div> |
|
| 3 |
<p id="project_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %></p> |
|
| 4 |
<div id="project_tag_candidates" class="autocomplete"></div> |
|
| 5 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> |
|
| 6 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => project)}')" %>
|
|
| 7 |
</div> |
|
| 8 |
<% end -%> |
|
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 1 |
<% 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 |
|
|
| 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 |
<% form_tag('/projects', :method => :get, :id => :project_filtering) do %>
|
|
| 20 |
<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 |
|
|
| 28 |
<div id='filter_tags'> |
|
| 29 |
<%= render :partial => 'filter_tags' %> |
|
| 30 |
</div> |
|
| 31 |
|
|
| 32 |
<p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
|
|
| 33 |
</div> |
|
| 34 |
</fieldset> |
|
| 35 |
<% end %> |
|
| 36 |
|
|
| 37 |
<div style="clear:both;"></div> |
|
| 38 |
<h2> |
|
| 39 |
<%= l("label_project_all") %>
|
|
| 40 |
</h2> |
|
| 41 |
|
|
| 42 |
<div id="projects"> |
|
| 43 |
<%= render :partial => 'filtered_projects' %> |
|
| 44 |
</div> |
|
| 45 |
|
|
| 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)) -%> |
|
| vendor/plugins/redmine_tags/app/views/tags/_settings.html.erb | ||
|---|---|---|
| 1 |
<fieldset><legend><%= l(:setting_issue_tags) %></legend> |
|
| 2 |
<p> |
|
| 3 |
<label><%= l(:issues_sidebar) %></label> |
|
| 4 |
<%= select_tag 'settings[issues_sidebar]', options_for_select(%w(none list cloud).collect{|v| [l("issue_tags_sidebar_#{v}"), v]}, @settings[:issues_sidebar]) %>
|
|
| 5 |
</p> |
|
| 6 |
<p> |
|
| 7 |
<label><%= l(:issues_show_count) %></label> |
|
| 8 |
<%= check_box_tag 'settings[issues_show_count]', 1, 1 == @settings[:issues_show_count].to_i %> |
|
| 9 |
</p> |
|
| 10 |
<p> |
|
| 11 |
<label><%= l(:issues_open_only) %></label> |
|
| 12 |
<%= check_box_tag 'settings[issues_open_only]', 1, 1 == @settings[:issues_open_only].to_i %> |
|
| 13 |
</p> |
|
| 14 |
</fieldset> |
|
Also available in: Unified diff