Show More
@@ -260,7 +260,7 b' class SettingsController(BaseController)' | |||||
260 | ('show_private_icon', 'show_private_icon', 'bool'), |
|
260 | ('show_private_icon', 'show_private_icon', 'bool'), | |
261 | ('stylify_metatags', 'stylify_metatags', 'bool'), |
|
261 | ('stylify_metatags', 'stylify_metatags', 'bool'), | |
262 | ('repository_fields', 'repository_fields', 'bool'), |
|
262 | ('repository_fields', 'repository_fields', 'bool'), | |
263 |
('dashboard_items', ' |
|
263 | ('dashboard_items', 'dashboard_items', 'int'), | |
264 | ('admin_grid_items', 'admin_grid_items', 'int'), |
|
264 | ('admin_grid_items', 'admin_grid_items', 'int'), | |
265 | ('show_version', 'show_version', 'bool'), |
|
265 | ('show_version', 'show_version', 'bool'), | |
266 | ('use_gravatar', 'use_gravatar', 'bool'), |
|
266 | ('use_gravatar', 'use_gravatar', 'bool'), |
@@ -360,7 +360,7 b' def ApplicationVisualisationForm():' | |||||
360 |
|
360 | |||
361 | repository_fields = v.StringBoolean(if_missing=False) |
|
361 | repository_fields = v.StringBoolean(if_missing=False) | |
362 | lightweight_journal = v.StringBoolean(if_missing=False) |
|
362 | lightweight_journal = v.StringBoolean(if_missing=False) | |
363 |
|
|
363 | dashboard_items = v.Int(min=5, not_empty=True) | |
364 | admin_grid_items = v.Int(min=5, not_empty=True) |
|
364 | admin_grid_items = v.Int(min=5, not_empty=True) | |
365 | show_version = v.StringBoolean(if_missing=False) |
|
365 | show_version = v.StringBoolean(if_missing=False) | |
366 | use_gravatar = v.StringBoolean(if_missing=False) |
|
366 | use_gravatar = v.StringBoolean(if_missing=False) |
@@ -54,9 +54,9 b'' | |||||
54 | </div> |
|
54 | </div> | |
55 |
|
55 | |||
56 | <div class="form-group"> |
|
56 | <div class="form-group"> | |
57 |
<label class="control-label" for=" |
|
57 | <label class="control-label" for="dashboard_items">${_('Repository page size')}:</label> | |
58 | <div> |
|
58 | <div> | |
59 |
${h.text(' |
|
59 | ${h.text('dashboard_items',size=5,class_='form-control')} | |
60 | <span class="help-block">${_('Number of items displayed in the repository pages before pagination is shown.')}</span> |
|
60 | <span class="help-block">${_('Number of items displayed in the repository pages before pagination is shown.')}</span> | |
61 | </div> |
|
61 | </div> | |
62 | </div> |
|
62 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now