Revision 902:8623d131c9ad
| app/views/repositories/_navigation.rhtml | ||
|---|---|---|
| 2 | 2 |
<%= javascript_include_tag 'repository_navigation' %> |
| 3 | 3 |
<% end %> |
| 4 | 4 |
|
| 5 |
<%= link_to_revision_archive(@repository, @changeset, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %>
|
|
| 5 |
<%= link_to_revision_archive(@repository, @rev, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %>
|
|
| 6 | 6 |
|
| 7 | 7 |
<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
|
| 8 | 8 |
<!-- Branches Dropdown --> |
| 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 => 1)}', false)" %>
|
|
| 6 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => Project.first.id)}', false)" %>
|
|
| 7 | 7 |
</div> |
| 8 | 8 |
<% end -%> |
| vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb | ||
|---|---|---|
| 34 | 34 |
sort_update %w(name lft created_on updated_on) |
| 35 | 35 |
@limit = per_page_option |
| 36 | 36 |
@project_count = Project.visible_roots.find(@projects).count |
| 37 |
|
|
| 37 | 38 |
@project_pages = ActionController::Pagination::Paginator.new self, @project_count, @limit, params['page'] |
| 38 | 39 |
@offset ||= @project_pages.current.offset |
| 39 | 40 |
end |
| ... | ... | |
| 120 | 121 |
end |
| 121 | 122 |
|
| 122 | 123 |
if @question == "" |
| 123 |
@projects = Project.visible |
|
| 124 |
@projects = Project.visible_roots
|
|
| 124 | 125 |
else |
| 125 |
@projects = Project.visible.search_by_question(@question)
|
|
| 126 |
@projects = Project.visible_roots.find(Project.visible.search_by_question(@question))
|
|
| 126 | 127 |
end |
| 127 | 128 |
|
| 128 | 129 |
unless @tag_list.empty? |
| ... | ... | |
| 132 | 133 |
|
| 133 | 134 |
@projects = @projects.collect{ |project| project.root }
|
| 134 | 135 |
@projects = @projects.uniq |
| 135 |
|
|
| 136 |
|
|
| 136 | 137 |
end |
| 137 | 138 |
end |
| 138 | 139 |
end |
Also available in: Unified diff