mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
code layout clean up app/helpers/members_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18986 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4b5f1b17fb
commit
fae40298d8
@ -29,10 +29,18 @@ module MembersHelper
|
|||||||
:class => 'objects-selection'
|
:class => 'objects-selection'
|
||||||
)
|
)
|
||||||
|
|
||||||
links = pagination_links_full(principal_pages, principal_count, :per_page_links => false) {|text, parameters, options|
|
links =
|
||||||
link_to text, autocomplete_project_memberships_path(project, parameters.merge(:q => params[:q], :format => 'js')), :remote => true
|
pagination_links_full(principal_pages,
|
||||||
}
|
principal_count,
|
||||||
|
:per_page_links => false) {|text, parameters, options|
|
||||||
|
link_to(
|
||||||
|
text,
|
||||||
|
autocomplete_project_memberships_path(
|
||||||
|
project,
|
||||||
|
parameters.merge(:q => params[:q], :format => 'js')
|
||||||
|
),
|
||||||
|
:remote => true)
|
||||||
|
}
|
||||||
s + content_tag('span', links, :class => 'pagination')
|
s + content_tag('span', links, :class => 'pagination')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user