Skip to content

Commit ae045cd

Browse files
committed
Use ul tags to do pagination (#21258).
Patch by Daniel Ritz. git-svn-id: http://svn.redmine.org/redmine/trunk@14897 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 0870a3a commit ae045cd

File tree

18 files changed

+71
-28
lines changed

18 files changed

+71
-28
lines changed

app/helpers/groups_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ def render_principals_for_new_group_users(group, limit=100)
4141
link_to text, autocomplete_for_user_group_path(group, parameters.merge(:q => params[:q], :format => 'js')), :remote => true
4242
}
4343

44-
s + content_tag('p', links, :class => 'pagination')
44+
s + content_tag('span', links, :class => 'pagination')
4545
end
4646
end

app/helpers/members_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def render_principals_for_new_members(project, limit=100)
3333
link_to text, autocomplete_project_memberships_path(project, parameters.merge(:q => params[:q], :format => 'js')), :remote => true
3434
}
3535

36-
s + content_tag('p', links, :class => 'pagination')
36+
s + content_tag('span', links, :class => 'pagination')
3737
end
3838
end

app/views/auth_sources/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
</tbody>
2929
</table>
3030

31-
<p class="pagination"><%= pagination_links_full @auth_source_pages %></p>
31+
<span class="pagination"><%= pagination_links_full @auth_source_pages %></span>

app/views/boards/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<% end %>
5151
</tbody>
5252
</table>
53-
<p class="pagination"><%= pagination_links_full @topic_pages, @topic_count %></p>
53+
<span class="pagination"><%= pagination_links_full @topic_pages, @topic_count %></span>
5454
<% else %>
5555
<p class="nodata"><%= l(:label_no_data) %></p>
5656
<% end %>

app/views/issue_statuses/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
</tbody>
3333
</table>
3434

35-
<p class="pagination"><%= pagination_links_full @issue_status_pages %></p>
35+
<span class="pagination"><%= pagination_links_full @issue_status_pages %></span>
3636

3737
<% html_title(l(:label_issue_status_plural)) -%>

app/views/issues/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<% else %>
6767
<%= render_query_totals(@query) %>
6868
<%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
69-
<p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
69+
<span class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></span>
7070
<% end %>
7171

7272
<% other_formats_links do |f| %>

app/views/messages/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<%= link_to_attachments message, :author => false %>
6868
</div>
6969
<% end %>
70-
<p class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></p>
70+
<span class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></span>
7171
<% end %>
7272

7373
<% if !@topic.locked? && authorize_for('messages', 'reply') %>

app/views/news/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</article>
3838
<% end %>
3939
<% end %>
40-
<p class="pagination"><%= pagination_links_full @news_pages %></p>
40+
<span class="pagination"><%= pagination_links_full @news_pages %></span>
4141

4242
<% other_formats_links do |f| %>
4343
<%= f.link_to 'Atom', :url => {:project_id => @project, :key => User.current.rss_key} %>

app/views/repositories/revisions.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:revisions => @changesets,
1818
:entry => nil } %>
1919

20-
<p class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></p>
20+
<span class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></span>
2121

2222
<% content_for :header_tags do %>
2323
<%= stylesheet_link_tag "scm" %>

app/views/roles/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
</tbody>
3030
</table>
3131

32-
<p class="pagination"><%= pagination_links_full @role_pages %></p>
32+
<span class="pagination"><%= pagination_links_full @role_pages %></span>
3333

3434
<% html_title(l(:label_role_plural)) -%>

0 commit comments

Comments
 (0)