##// END OF EJS Templates
comments: improved comments form layout....
comments: improved comments form layout. - changed to be made to support comments types - cleaner UI

File last commit:

r1101:c48a80c6 default
r1281:71c01ca9 default
Show More
repo_group_edit_advanced.html
64 lines | 2.3 KiB | text/html | HtmlLexer
/ rhodecode / templates / admin / repo_groups / repo_group_edit_advanced.html
project: added all source files and assets
r1 <%namespace name="base" file="/base/base.html"/>
<%
elems = [
(_('Owner'), lambda:base.gravatar_with_user(c.repo_group.user.email), '', ''),
(_('Created on'), h.format_date(c.repo_group.created_on), '', ''),
repo-groups: add personal flag indicator in advanced view.
r1101 (_('Is Personal Group'), c.repo_group.personal or False, '', ''),
project: added all source files and assets
r1
(_('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">
<h3 class="panel-title">${_('Repository Group: %s') % c.repo_group.group_name}</h3>
</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">
${h.secure_form(h.url('delete_repo_group', group_name=c.repo_group.group_name),method='delete')}
<table class="display">
<tr>
<td>
${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()}
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
${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}
</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>