##// END OF EJS Templates
New setting added to specify how many objects should be displayed on most paginated lists....
Jean-Philippe Lang -
r1013:9a1b46fe4287
parent child
Show More
@@ -35,7 +35,7 class AdminController < ApplicationController
35
35
36 @project_count = Project.count(:conditions => conditions)
36 @project_count = Project.count(:conditions => conditions)
37 @project_pages = Paginator.new self, @project_count,
37 @project_pages = Paginator.new self, @project_count,
38 25,
38 per_page_option,
39 params['page']
39 params['page']
40 @projects = Project.find :all, :order => sort_clause,
40 @projects = Project.find :all, :order => sort_clause,
41 :conditions => conditions,
41 :conditions => conditions,
@@ -158,6 +158,21 class ApplicationController < ActionController::Base
158 attachments
158 attachments
159 end
159 end
160
160
161 # Returns the number of objects that should be displayed
162 # on the paginated list
163 def per_page_option
164 per_page = nil
165 if params[:per_page] && Setting.per_page_options_array.include?(params[:per_page].to_s.to_i)
166 per_page = params[:per_page].to_s.to_i
167 session[:per_page] = per_page
168 elsif session[:per_page]
169 per_page = session[:per_page]
170 else
171 per_page = Setting.per_page_options_array.first || 25
172 end
173 per_page
174 end
175
161 # qvalues http header parser
176 # qvalues http header parser
162 # code taken from webrick
177 # code taken from webrick
163 def parse_qvalues(value)
178 def parse_qvalues(value)
@@ -40,7 +40,7 class BoardsController < ApplicationController
40 sort_update
40 sort_update
41
41
42 @topic_count = @board.topics.count
42 @topic_count = @board.topics.count
43 @topic_pages = Paginator.new self, @topic_count, 25, params['page']
43 @topic_pages = Paginator.new self, @topic_count, per_page_option, params['page']
44 @topics = @board.topics.find :all, :order => "#{Message.table_name}.sticky DESC, #{sort_clause}",
44 @topics = @board.topics.find :all, :order => "#{Message.table_name}.sticky DESC, #{sort_clause}",
45 :include => [:author, {:last_reply => :author}],
45 :include => [:author, {:last_reply => :author}],
46 :limit => @topic_pages.items_per_page,
46 :limit => @topic_pages.items_per_page,
@@ -45,7 +45,7 class IssuesController < ApplicationController
45 sort_update
45 sort_update
46 retrieve_query
46 retrieve_query
47 if @query.valid?
47 if @query.valid?
48 limit = %w(pdf csv).include?(params[:format]) ? Setting.issues_export_limit.to_i : 25
48 limit = %w(pdf csv).include?(params[:format]) ? Setting.issues_export_limit.to_i : per_page_option
49 @issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement)
49 @issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement)
50 @issue_pages = Paginator.new self, @issue_count, limit, params['page']
50 @issue_pages = Paginator.new self, @issue_count, limit, params['page']
51 @issues = Issue.find :all, :order => sort_clause,
51 @issues = Issue.find :all, :order => sort_clause,
@@ -75,7 +75,7 class RepositoriesController < ApplicationController
75 def revisions
75 def revisions
76 @changeset_count = @repository.changesets.count
76 @changeset_count = @repository.changesets.count
77 @changeset_pages = Paginator.new self, @changeset_count,
77 @changeset_pages = Paginator.new self, @changeset_count,
78 25,
78 per_page_option,
79 params['page']
79 params['page']
80 @changesets = @repository.changesets.find(:all,
80 @changesets = @repository.changesets.find(:all,
81 :limit => @changeset_pages.items_per_page,
81 :limit => @changeset_pages.items_per_page,
@@ -39,7 +39,7 class UsersController < ApplicationController
39
39
40 @user_count = User.count(:conditions => conditions)
40 @user_count = User.count(:conditions => conditions)
41 @user_pages = Paginator.new self, @user_count,
41 @user_pages = Paginator.new self, @user_count,
42 15,
42 per_page_option,
43 params['page']
43 params['page']
44 @users = User.find :all,:order => sort_clause,
44 @users = User.find :all,:order => sort_clause,
45 :conditions => conditions,
45 :conditions => conditions,
@@ -97,7 +97,7 class WikiController < ApplicationController
97 @page = @wiki.find_page(params[:page])
97 @page = @wiki.find_page(params[:page])
98
98
99 @version_count = @page.content.versions.count
99 @version_count = @page.content.versions.count
100 @version_pages = Paginator.new self, @version_count, 25, params['p']
100 @version_pages = Paginator.new self, @version_count, per_page_option, params['p']
101 # don't load text
101 # don't load text
102 @versions = @page.content.versions.find :all,
102 @versions = @page.content.versions.find :all,
103 :select => "id, author_id, comments, updated_on, version",
103 :select => "id, author_id, comments, updated_on, version",
@@ -103,26 +103,40 module ApplicationHelper
103 l(:actionview_datehelper_select_month_names).split(',')[month-1]
103 l(:actionview_datehelper_select_month_names).split(',')[month-1]
104 end
104 end
105
105
106 def pagination_links_full(paginator, options={}, html_options={})
106 def pagination_links_full(paginator, count=nil, options={})
107 page_param = options.delete(:page_param) || :page
107 page_param = options.delete(:page_param) || :page
108
108 url_param = params.dup
109
109 html = ''
110 html = ''
110 html << link_to_remote(('&#171; ' + l(:label_previous)),
111 html << link_to_remote(('&#171; ' + l(:label_previous)),
111 {:update => "content", :url => options.merge(page_param => paginator.current.previous)},
112 {:update => "content", :url => url_param.merge(page_param => paginator.current.previous)},
112 {:href => url_for(:params => options.merge(page_param => paginator.current.previous))}) + ' ' if paginator.current.previous
113 {:href => url_for(:params => url_param.merge(page_param => paginator.current.previous))}) + ' ' if paginator.current.previous
113
114
114 html << (pagination_links_each(paginator, options) do |n|
115 html << (pagination_links_each(paginator, options) do |n|
115 link_to_remote(n.to_s,
116 link_to_remote(n.to_s,
116 {:url => {:params => options.merge(page_param => n)}, :update => 'content'},
117 {:url => {:params => url_param.merge(page_param => n)}, :update => 'content'},
117 {:href => url_for(:params => options.merge(page_param => n))})
118 {:href => url_for(:params => url_param.merge(page_param => n))})
118 end || '')
119 end || '')
119
120
120 html << ' ' + link_to_remote((l(:label_next) + ' &#187;'),
121 html << ' ' + link_to_remote((l(:label_next) + ' &#187;'),
121 {:update => "content", :url => options.merge(page_param => paginator.current.next)},
122 {:update => "content", :url => url_param.merge(page_param => paginator.current.next)},
122 {:href => url_for(:params => options.merge(page_param => paginator.current.next))}) if paginator.current.next
123 {:href => url_for(:params => url_param.merge(page_param => paginator.current.next))}) if paginator.current.next
124
125 unless count.nil?
126 html << [" (#{paginator.current.first_item}-#{paginator.current.last_item}/#{count})", per_page_links(paginator.items_per_page)].compact.join(' | ')
127 end
128
123 html
129 html
124 end
130 end
125
131
132 def per_page_links(selected=nil)
133 links = Setting.per_page_options_array.collect do |n|
134 n == selected ? n : link_to_remote(n, {:update => "content", :url => params.dup.merge(:per_page => n)},
135 {:href => url_for(params.dup.merge(:per_page => n))})
136 end
137 links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
138 end
139
126 def set_html_title(text)
140 def set_html_title(text)
127 @html_header_title = text
141 @html_header_title = text
128 end
142 end
@@ -95,6 +95,11 class Setting < ActiveRecord::Base
95 class_eval src, __FILE__, __LINE__
95 class_eval src, __FILE__, __LINE__
96 end
96 end
97
97
98 # Helper that returns an array based on per_page_options setting
99 def self.per_page_options_array
100 per_page_options.split(%r{[\s,]}).collect(&:to_i).select {|n| n > 0}.sort
101 end
102
98 # Checks if settings have changed since the values were read
103 # Checks if settings have changed since the values were read
99 # and clears the cache hash if it's the case
104 # and clears the cache hash if it's the case
100 # Called once per request
105 # Called once per request
@@ -45,7 +45,6
45 </tbody>
45 </tbody>
46 </table>
46 </table>
47
47
48 <p><%= pagination_links_full @project_pages, :status => @status %>
48 <p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
49 [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>
50
49
51 <% set_html_title l(:label_project_plural) -%>
50 <% set_html_title l(:label_project_plural) -%>
@@ -25,4 +25,4
25 </tbody>
25 </tbody>
26 </table>
26 </table>
27
27
28 <%= pagination_links_full @auth_source_pages %>
28 <p class="pagination"><%= pagination_links_full @auth_source_pages %></p>
@@ -43,8 +43,7
43 <% end %>
43 <% end %>
44 </tbody>
44 </tbody>
45 </table>
45 </table>
46 <p><%= pagination_links_full @topic_pages %>
46 <p class="pagination"><%= pagination_links_full @topic_pages, @topic_count %></p>
47 [ <%= @topic_pages.current.first_item %> - <%= @topic_pages.current.last_item %> / <%= @topic_count %> ]</p>
48 <% else %>
47 <% else %>
49 <p class="nodata"><%= l(:label_no_data) %></p>
48 <p class="nodata"><%= l(:label_no_data) %></p>
50 <% end %>
49 <% end %>
@@ -32,6 +32,6
32 </tbody>
32 </tbody>
33 </table>
33 </table>
34
34
35 <%= pagination_links_full @issue_status_pages %>
35 <p class="pagination"><%= pagination_links_full @issue_status_pages %></p>
36
36
37 <% set_html_title(l(:label_issue_status_plural)) -%>
37 <% set_html_title(l(:label_issue_status_plural)) -%>
@@ -48,8 +48,7
48 <%= link_to 'CSV', {:format => 'csv'}, :class => 'icon icon-csv' %>,
48 <%= link_to 'CSV', {:format => 'csv'}, :class => 'icon icon-csv' %>,
49 <%= link_to 'PDF', {:format => 'pdf'}, :class => 'icon icon-pdf' %>
49 <%= link_to 'PDF', {:format => 'pdf'}, :class => 'icon icon-pdf' %>
50 </div>
50 </div>
51 <p><%= pagination_links_full @issue_pages %>
51 <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
52 [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]</p>
53 <% end %>
52 <% end %>
54 <% end %>
53 <% end %>
55 <% end %>
54 <% end %>
@@ -27,7 +27,7
27 <%= textilizable(news.description) %>
27 <%= textilizable(news.description) %>
28 <% end %>
28 <% end %>
29 <% end %>
29 <% end %>
30 <%= pagination_links_full @news_pages %>
30 <p class="pagination"><%= pagination_links_full @news_pages %></p>
31
31
32 <% content_for :header_tags do %>
32 <% content_for :header_tags do %>
33 <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
33 <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
@@ -56,8 +56,7
56 <% end %>
56 <% end %>
57 </tbody>
57 </tbody>
58 </table>
58 </table>
59 <p><%= pagination_links_full @changes_pages, :rev => @changeset.revision %>
59 <p class="pagination"><%= pagination_links_full @changes_pages %></p>
60 [ <%= @changes_pages.current.first_item %> - <%= @changes_pages.current.last_item %> / <%= @changes_count %> ]</p>
61
60
62 <% content_for :header_tags do %>
61 <% content_for :header_tags do %>
63 <%= stylesheet_link_tag "scm" %>
62 <%= stylesheet_link_tag "scm" %>
@@ -9,8 +9,7
9
9
10 <%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%>
10 <%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%>
11
11
12 <p><%= pagination_links_full @changeset_pages %>
12 <p class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></p>
13 [ <%= @changeset_pages.current.first_item %> - <%= @changeset_pages.current.last_item %> / <%= @changeset_count %> ]</p>
14
13
15 <% content_for :header_tags do %>
14 <% content_for :header_tags do %>
16 <%= stylesheet_link_tag "scm" %>
15 <%= stylesheet_link_tag "scm" %>
@@ -29,7 +29,7
29 </tbody>
29 </tbody>
30 </table>
30 </table>
31
31
32 <p><%= pagination_links_full @role_pages %></p>
32 <p class="pagination"><%= pagination_links_full @role_pages %></p>
33
33
34 <p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
34 <p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
35
35
@@ -27,6 +27,9
27 <p><label><%= l(:setting_attachment_max_size) %></label>
27 <p><label><%= l(:setting_attachment_max_size) %></label>
28 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
28 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
29
29
30 <p><label><%= l(:setting_per_page_options) %></label>
31 <%= text_field_tag 'settings[per_page_options]', Setting.per_page_options_array.join(', '), :size => 20 %><br /><em><%= l(:text_comma_separated) %></em></p>
32
30 <p><label><%= l(:setting_issues_export_limit) %></label>
33 <p><label><%= l(:setting_issues_export_limit) %></label>
31 <%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
34 <%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
32
35
@@ -30,6 +30,6
30 </tbody>
30 </tbody>
31 </table>
31 </table>
32
32
33 <%= pagination_links_full @tracker_pages %>
33 <p class="pagination"><%= pagination_links_full @tracker_pages %></p>
34
34
35 <% set_html_title(l(:label_tracker_plural)) -%>
35 <% set_html_title(l(:label_tracker_plural)) -%>
@@ -55,8 +55,6
55 </tbody>
55 </tbody>
56 </table>
56 </table>
57
57
58 <p><%= pagination_links_full @user_pages, :status => @status %>
58 <p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>
59 [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ]
60 </p>
61
59
62 <% set_html_title(l(:label_user_plural)) -%>
60 <% set_html_title(l(:label_user_plural)) -%>
@@ -31,6 +31,5
31 </tbody>
31 </tbody>
32 </table>
32 </table>
33 <%= submit_tag l(:label_view_diff), :class => 'small' %>
33 <%= submit_tag l(:label_view_diff), :class => 'small' %>
34 <%= pagination_links_full @version_pages, :page_param => :p %>
34 <span class="pagination"><%= pagination_links_full @version_pages, @version_count, :page_param => :p %></span>
35 [ <%= @version_pages.current.first_item %> - <%= @version_pages.current.last_item %> / <%= @version_count %> ]
36 <% end %>
35 <% end %>
@@ -37,6 +37,8 attachment_max_size:
37 issues_export_limit:
37 issues_export_limit:
38 format: int
38 format: int
39 default: 500
39 default: 500
40 per_page_options:
41 default: '25,50,100'
40 mail_from:
42 mail_from:
41 default: redmine@somenet.foo
43 default: redmine@somenet.foo
42 bcc_recipients:
44 bcc_recipients:
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -198,6 +198,7 setting_issue_list_default_columns: Default columns displayed on the issue list
198 setting_repositories_encodings: Repositories encodings
198 setting_repositories_encodings: Repositories encodings
199 setting_emails_footer: Emails footer
199 setting_emails_footer: Emails footer
200 setting_protocol: Protocol
200 setting_protocol: Protocol
201 setting_per_page_options: Objects per page options
201
202
202 label_user: User
203 label_user: User
203 label_user_plural: Users
204 label_user_plural: Users
@@ -456,6 +457,7 label_user_mail_no_self_notified: "I don't want to be notified of changes that I
456 label_registration_activation_by_email: account activation by email
457 label_registration_activation_by_email: account activation by email
457 label_registration_manual_activation: manual account activation
458 label_registration_manual_activation: manual account activation
458 label_registration_automatic_activation: automatic account activation
459 label_registration_automatic_activation: automatic account activation
460 label_display_per_page: 'Per page: %s'
459
461
460 button_login: Login
462 button_login: Login
461 button_submit: Submit
463 button_submit: Submit
@@ -553,3 +553,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
553 button_annotate: Annotate
553 button_annotate: Annotate
554 label_issues_by: Issues by %s
554 label_issues_by: Issues by %s
555 field_searchable: Searchable
555 field_searchable: Searchable
556 label_display_per_page: 'Per page: %s'
557 setting_per_page_options: Objects per page options
@@ -198,6 +198,7 setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste
198 setting_repositories_encodings: Encodages des dépôts
198 setting_repositories_encodings: Encodages des dépôts
199 setting_emails_footer: Pied-de-page des emails
199 setting_emails_footer: Pied-de-page des emails
200 setting_protocol: Protocole
200 setting_protocol: Protocole
201 setting_per_page_options: Options d'objets affichés par page
201
202
202 label_user: Utilisateur
203 label_user: Utilisateur
203 label_user_plural: Utilisateurs
204 label_user_plural: Utilisateurs
@@ -456,6 +457,7 label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements
456 label_registration_activation_by_email: activation du compte par email
457 label_registration_activation_by_email: activation du compte par email
457 label_registration_manual_activation: activation manuelle du compte
458 label_registration_manual_activation: activation manuelle du compte
458 label_registration_automatic_activation: activation automatique du compte
459 label_registration_automatic_activation: activation automatique du compte
460 label_display_per_page: 'Par page: %s'
459
461
460 button_login: Connexion
462 button_login: Connexion
461 button_submit: Soumettre
463 button_submit: Soumettre
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -551,3 +551,5 setting_bcc_recipients: ブラインドカーボンコピーで受信(bcc)
551 button_annotate: 注釈
551 button_annotate: 注釈
552 label_issues_by: %s別の問題
552 label_issues_by: %s別の問題
553 field_searchable: Searchable
553 field_searchable: Searchable
554 label_display_per_page: 'Per page: %s'
555 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -551,3 +551,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
551 button_annotate: Annotate
551 button_annotate: Annotate
552 label_issues_by: Issues by %s
552 label_issues_by: Issues by %s
553 field_searchable: Searchable
553 field_searchable: Searchable
554 label_display_per_page: 'Per page: %s'
555 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Odbiorcy kopii tajnej (kt/bcc)
550 button_annotate: Adnotuj
550 button_annotate: Adnotuj
551 label_issues_by: Zagadnienia wprowadzone przez %s
551 label_issues_by: Zagadnienia wprowadzone przez %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
550 button_annotate: Annotate
550 button_annotate: Annotate
551 label_issues_by: Issues by %s
551 label_issues_by: Issues by %s
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -551,3 +551,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
551 button_annotate: Annotate
551 button_annotate: Annotate
552 label_issues_by: Issues by %s
552 label_issues_by: Issues by %s
553 field_searchable: Searchable
553 field_searchable: Searchable
554 label_display_per_page: 'Per page: %s'
555 setting_per_page_options: Objects per page options
@@ -551,3 +551,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
551 button_annotate: Annotate
551 button_annotate: Annotate
552 label_issues_by: Issues by %s
552 label_issues_by: Issues by %s
553 field_searchable: Searchable
553 field_searchable: Searchable
554 label_display_per_page: 'Per page: %s'
555 setting_per_page_options: Objects per page options
@@ -550,3 +550,5 enumeration_issue_priorities: 項目重要性
550 enumeration_doc_categories: 文件分類
550 enumeration_doc_categories: 文件分類
551 enumeration_activities: 活動 (time tracking)
551 enumeration_activities: 活動 (time tracking)
552 field_searchable: Searchable
552 field_searchable: Searchable
553 label_display_per_page: 'Per page: %s'
554 setting_per_page_options: Objects per page options
@@ -553,3 +553,5 setting_bcc_recipients: Blind carbon copy recipients (bcc)
553 button_annotate: Annotate
553 button_annotate: Annotate
554 label_issues_by: Issues by %s
554 label_issues_by: Issues by %s
555 field_searchable: Searchable
555 field_searchable: Searchable
556 label_display_per_page: 'Per page: %s'
557 setting_per_page_options: Objects per page options
@@ -126,6 +126,9 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid
126 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
126 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
127 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
127 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
128
128
129 .pagination {font-size: 90%}
130 p.pagination {margin-top:8px;}
131
129 /***** Tabular forms ******/
132 /***** Tabular forms ******/
130 .tabular p{
133 .tabular p{
131 margin: 0;
134 margin: 0;
General Comments 0
You need to be logged in to leave comments. Login now