##// END OF EJS Templates
branch-permissions: fixed XSS for special named rules
branch-permissions: fixed XSS for special named rules

File last commit:

r4159:0bc78b10 default
r4383:84bf794f stable
Show More
repo_group_edit_advanced.mako
74 lines | 3.0 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / repo_groups / repo_group_edit_advanced.mako
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
<%
feat: changed last change of repo group to be commit of a latest repository.
r3689 source_repo_id = c.repo_group.changeset_cache.get('source_repo_id')
templating: use .mako as extensions for template files.
r1282 elems = [
templates: expose IDs of objects in advanced views. Usefull for API or ishell.
r3332 (_('Repository Group ID'), c.repo_group.group_id, '', ''),
hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI
r4026 (_('Owner'), lambda:base.gravatar_with_user(c.repo_group.user.email, tooltip=True), '', ''),
templating: use .mako as extensions for template files.
r1282 (_('Created on'), h.format_date(c.repo_group.created_on), '', ''),
feat: changed last change of repo group to be commit of a latest repository.
r3689 (_('Updated on'), h.format_date(c.repo_group.updated_on), '', ''),
dan
cache-commits: add option to refresh caches manually from advanced pages.
r4159 (_('Cached Commit source'), (h.link_to_if(source_repo_id, 'repo_id:{}'.format(source_repo_id), h.route_path('repo_summary', repo_name='_{}'.format(source_repo_id)))), '', ''),
(_('Cached Commit id'), c.repo_group.changeset_cache.get('short_id'), '', ''),
feat: changed last change of repo group to be commit of a latest repository.
r3689 (_('Cached Commit date'), (c.repo_group.changeset_cache.get('date')), '', ''),
dan
cache-commits: add option to refresh caches manually from advanced pages.
r4159
(_('Cached Commit data'), lambda: h.link_to('refresh now', h.current_route_path(request, update_commit_cache=1)), '', ''),
feat: changed last change of repo group to be commit of a latest repository.
r3689
templating: use .mako as extensions for template files.
r1282 (_('Is Personal Group'), c.repo_group.personal or False, '', ''),
(_('Total repositories'), c.repo_group.repositories_recursive_count, '', ''),
(_('Top level repositories'), c.repo_group.repositories.count(), '', c.repo_group.repositories.all()),
(_('Children groups'), c.repo_group.children.count(), '', c.repo_group.children.all()),
]
%>
<div class="panel panel-default">
<div class="panel-heading">
repo-groups: make panel titles more consistent
r3590 <h3 class="panel-title">${_('Repository Group Advanced: {}').format(c.repo_group.name)}</h3>
templating: use .mako as extensions for template files.
r1282 </div>
<div class="panel-body">
${base.dt_info_panel(elems)}
</div>
</div>
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title">${_('Delete repository group')}</h3>
</div>
<div class="panel-body">
repo-groups: moved to pyramid
r2175 ${h.secure_form(h.route_path('edit_repo_group_advanced_delete', repo_group_name=c.repo_group.group_name), request=request)}
templating: use .mako as extensions for template files.
r1282 <table class="display">
<tr>
<td>
translation: unified usage of pluralize function ungettext....
r1945 ${_ungettext('This repository group includes %s children repository group.', 'This repository group includes %s children repository groups.', c.repo_group.children.count()) % c.repo_group.children.count()}
templating: use .mako as extensions for template files.
r1282 </td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
translation: unified usage of pluralize function ungettext....
r1945 ${_ungettext('This repository group includes %s repository.', 'This repository group includes %s repositories.', c.repo_group.repositories_recursive_count) % c.repo_group.repositories_recursive_count}
templating: use .mako as extensions for template files.
r1282 </td>
<td>
</td>
<td>
</td>
</tr>
</table>
<div style="margin: 0 0 20px 0" class="fake-space"></div>
<button class="btn btn-small btn-danger" type="submit"
onclick="return confirm('${_('Confirm to delete this group: %s') % (c.repo_group.group_name)}');">
${_('Delete this repository group')}
</button>
${h.end_form()}
</div>
</div>