##// END OF EJS Templates
repositories: drop the word "dashboard" - it is just a list of repositories and groups
Mads Kiilerich -
r6274:19f15cde default
parent child Browse files
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', 'dashboard_items', 'int'),
263 ('dashboard_items', 'page_size', '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'),
@@ -319,7 +319,7 b' class BaseController(WSGIController):'
319 c.visual.show_public_icon = str2bool(rc_config.get('show_public_icon'))
319 c.visual.show_public_icon = str2bool(rc_config.get('show_public_icon'))
320 c.visual.show_private_icon = str2bool(rc_config.get('show_private_icon'))
320 c.visual.show_private_icon = str2bool(rc_config.get('show_private_icon'))
321 c.visual.stylify_metatags = str2bool(rc_config.get('stylify_metatags'))
321 c.visual.stylify_metatags = str2bool(rc_config.get('stylify_metatags'))
322 c.visual.dashboard_items = safe_int(rc_config.get('dashboard_items', 100))
322 c.visual.page_size = safe_int(rc_config.get('dashboard_items', 100))
323 c.visual.admin_grid_items = safe_int(rc_config.get('admin_grid_items', 100))
323 c.visual.admin_grid_items = safe_int(rc_config.get('admin_grid_items', 100))
324 c.visual.repository_fields = str2bool(rc_config.get('repository_fields'))
324 c.visual.repository_fields = str2bool(rc_config.get('repository_fields'))
325 c.visual.show_version = str2bool(rc_config.get('show_version'))
325 c.visual.show_version = str2bool(rc_config.get('show_version'))
@@ -442,7 +442,7 b' class DbManage(object):'
442 ('show_public_icon', True, 'bool'),
442 ('show_public_icon', True, 'bool'),
443 ('show_private_icon', True, 'bool'),
443 ('show_private_icon', True, 'bool'),
444 ('stylify_metatags', False, 'bool'),
444 ('stylify_metatags', False, 'bool'),
445 ('dashboard_items', 100, 'int'),
445 ('dashboard_items', 100, 'int'), # TODO: call it page_size
446 ('admin_grid_items', 25, 'int'),
446 ('admin_grid_items', 25, 'int'),
447 ('show_version', True, 'bool'),
447 ('show_version', True, 'bool'),
448 ('use_gravatar', True, 'bool'),
448 ('use_gravatar', True, 'bool'),
@@ -358,7 +358,7 b' def ApplicationVisualisationForm():'
358
358
359 repository_fields = v.StringBoolean(if_missing=False)
359 repository_fields = v.StringBoolean(if_missing=False)
360 lightweight_journal = v.StringBoolean(if_missing=False)
360 lightweight_journal = v.StringBoolean(if_missing=False)
361 dashboard_items = v.Int(min=5, not_empty=True)
361 page_size = v.Int(min=5, not_empty=True)
362 admin_grid_items = v.Int(min=5, not_empty=True)
362 admin_grid_items = v.Int(min=5, not_empty=True)
363 show_version = v.StringBoolean(if_missing=False)
363 show_version = v.StringBoolean(if_missing=False)
364 use_gravatar = v.StringBoolean(if_missing=False)
364 use_gravatar = v.StringBoolean(if_missing=False)
@@ -1,7 +1,7 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3 <%block name="title">
3 <%block name="title">
4 ${_('%s Repository group dashboard') % c.group.group_name}
4 ${_('Repository group %s') % c.group.group_name}
5 </%block>
5 </%block>
6
6
7 <%def name="breadcrumbs()">
7 <%def name="breadcrumbs()">
@@ -50,15 +50,15 b''
50 </div>
50 </div>
51
51
52 <div class="form-group">
52 <div class="form-group">
53 <label class="control-label" for="dashboard_items">${_('Dashboard items')}:</label>
53 <label class="control-label" for="page_size">${_('Repository page size')}:</label>
54 <div class="input">
54 <div class="input">
55 ${h.text('dashboard_items',size=5)}
55 ${h.text('page_size',size=5)}
56 <span class="help-block">${_('Number of items displayed in the main page dashboard before pagination is shown.')}</span>
56 <span class="help-block">${_('Number of items displayed in the repository pages before pagination is shown.')}</span>
57 </div>
57 </div>
58 </div>
58 </div>
59
59
60 <div class="form-group">
60 <div class="form-group">
61 <label class="control-label" for="admin_grid_items">${_('Admin pages items')}:</label>
61 <label class="control-label" for="admin_grid_items">${_('Admin page size')}:</label>
62 <div class="input">
62 <div class="input">
63 ${h.text('admin_grid_items',size=5)}
63 ${h.text('admin_grid_items',size=5)}
64 <span class="help-block">${_('Number of items displayed in the admin pages grids before pagination is shown.')}</span>
64 <span class="help-block">${_('Number of items displayed in the admin pages grids before pagination is shown.')}</span>
@@ -2,7 +2,7 b''
2 <%inherit file="base/base.html"/>
2 <%inherit file="base/base.html"/>
3
3
4 <%block name="title">
4 <%block name="title">
5 ${_('Dashboard')}
5 ${_('Repositories')}
6 </%block>
6 </%block>
7
7
8 <%block name="header_menu">
8 <%block name="header_menu">
General Comments 0
You need to be logged in to leave comments. Login now