diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-29 11:36:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-29 11:36:30 +0000 |
commit | 9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db (patch) | |
tree | 55c78bfcc226b12a1f8cbb1469caa7528be78a6f /app/views/news/index.rhtml | |
parent | 7eec539222731f5b3fca40d6dbaae8f00f01feba (diff) | |
download | redmine-9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db.tar.gz redmine-9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db.zip |
New setting added to specify how many objects should be displayed on most paginated lists.
Default is: 25, 50, 100 (users can choose one of these values).
If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news/index.rhtml')
-rw-r--r-- | app/views/news/index.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index 0b677d241..354467229 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -27,7 +27,7 @@ <%= textilizable(news.description) %> <% end %> <% end %> -<%= pagination_links_full @news_pages %> +<p class="pagination"><%= pagination_links_full @news_pages %></p> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> |