Revision 792:c2357075c5c9
| app/helpers/projects_helper.rb | ||
|---|---|---|
| 150 | 150 |
|
| 151 | 151 |
if s != '' |
| 152 | 152 |
a = '' |
| 153 |
a << "<h2>" |
|
| 154 |
a << l("label_my_project_plural")
|
|
| 155 |
a << "</h2>" |
|
| 156 | 153 |
a << "<ul class='projects root'>\n" |
| 157 | 154 |
a << s |
| 158 | 155 |
a << "</ul>\n" |
| vendor/plugins/redmine_tags/app/views/projects/_filtered_projects.rhtml | ||
|---|---|---|
| 1 |
<%= render_project_table_with_filtering(@projects, @question) %> |
|
| 1 |
<% if @projects.empty? %> |
|
| 2 |
<p><b><%= l(:project_filter_no_results) %></b></p> |
|
| 3 |
<% else %> |
|
| 4 |
<%= render_project_table_with_filtering(@projects, @question) %> |
|
| 5 |
<% end %> |
|
| vendor/plugins/redmine_tags/app/views/projects/_my_projects.rhtml | ||
|---|---|---|
| 1 | 1 |
<% if @myproj_status=="true" %> |
| 2 | 2 |
<fieldset id="my_projects_fieldset" class="collapsible"> |
| 3 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_my_projects) %></legend>
|
|
| 3 |
<legend onclick="toggleFieldsetWithState(this);"><h2><%= l(:label_my_project_plural) %></h2></legend>
|
|
| 4 | 4 |
<% else %> |
| 5 | 5 |
<fieldset id="my_projects_fieldset" class="collapsible collapsed"> |
| 6 |
<legend onclick="toggleFieldsetWithState(this);"><%= l(:label_my_projects) %></legend>
|
|
| 6 |
<legend onclick="toggleFieldsetWithState(this);"><h2><%= l(:label_my_project_plural) %></h2></legend>
|
|
| 7 | 7 |
<div style="display: none;"> |
| 8 | 8 |
<% end%> |
| 9 | 9 |
<% if @user_projects %> |
| ... | ... | |
| 11 | 11 |
<%= render_my_project_hierarchy(@user_projects)%> |
| 12 | 12 |
</div> |
| 13 | 13 |
<% end %> |
| 14 |
</fieldset> |
|
| 14 |
</fieldset> |
|
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 33 | 33 |
<div style="display: none;"> |
| 34 | 34 |
<% end %> |
| 35 | 35 |
<div> |
| 36 |
|
|
| 37 |
<div id='filter_tags'> |
|
| 38 |
<%= render :partial => 'filter_search_tags' %> |
|
| 39 |
</div> |
|
| 40 |
|
|
| 36 | 41 |
<p class='q'> |
| 37 | 42 |
<%= label_tag 'q', l('project_filtering_q_label') %>
|
| 38 | 43 |
<%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %> |
| 39 | 44 |
</p> |
| 40 | 45 |
|
| 41 |
<div id='filter_tags'> |
|
| 42 |
<%= render :partial => 'filter_search_tags' %> |
|
| 43 |
</div> |
|
| 44 |
|
|
| 45 | 46 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
| 46 | 47 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' %>
|
| 47 | 48 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
| vendor/plugins/redmine_tags/assets/stylesheets/redmine_tags.css | ||
|---|---|---|
| 33 | 33 |
div.tags .tag-nube-8 { font-size: 1.5em; }
|
| 34 | 34 |
|
| 35 | 35 |
.tag-count { font-size: .75em; margin-left: .5em; }
|
| 36 |
|
|
| 37 |
#project_tags label { padding-right: .5em; }
|
|
| vendor/plugins/redmine_tags/config/locales/en.yml | ||
|---|---|---|
| 36 | 36 |
auto_complete_new_tag: Add new... |
| 37 | 37 |
|
| 38 | 38 |
project_filtering_q_label: "Textual search" |
| 39 |
project_filter_no_results: "No matching projects found" |
|
| 39 | 40 |
button_filter: "Filter" |
Also available in: Unified diff