##// END OF EJS Templates
rcextensions: helpers fix, non json data should use params.
rcextensions: helpers fix, non json data should use params.

File last commit:

r4062:42f2ce8c default
r4158:57895576 default
Show More
repo_edit.mako
103 lines | 4.0 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
##
## See also repo_settings.html
##
<%inherit file="/base/base.mako"/>
<%def name="title()">
templates: use a single helper to select activated menu entries in templates.
r4062 ${_('{} repository settings').format(c.rhodecode_db_repo.repo_name)}
templating: use .mako as extensions for template files.
r1282 %if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
${_('Settings')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='repositories')}
</%def>
<%def name="menu_bar_subnav()">
ui: moved group settings outside
r3567 ${self.repo_menu(active='settings')}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="main_content()">
pull-request: extended default reviewers functionality....
r1769 % if hasattr(c, 'repo_edit_template'):
<%include file="${c.repo_edit_template}"/>
% else:
<%include file="/admin/repos/repo_edit_${c.active}.mako"/>
% endif
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="main()">
<div class="box">
<div class="sidebar-col-wrapper scw-small">
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('settings', c.active)}">
repo-settings: converted repo settings to pyramid...
r1716 <a href="${h.route_path('edit_repo', repo_name=c.repo_name)}">${_('Settings')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('permissions', c.active)}">
<a href="${h.route_path('edit_repo_perms', repo_name=c.repo_name)}">${_('Access Permissions')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('permissions_branch', c.active)}">
branch permissions: added logic to define in UI branch permissions....
r2975 <a href="${h.route_path('edit_repo_perms_branch', repo_name=c.repo_name)}">${_('Branch Permissions')}</a>
</li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('advanced', c.active)}">
repo-settings: moved advanced setion into pyramid views....
r1751 <a href="${h.route_path('edit_repo_advanced', repo_name=c.repo_name)}">${_('Advanced')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('vcs', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_vcs', repo_name=c.repo_name)}">${_('VCS')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('fields', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_fields', repo_name=c.repo_name)}">${_('Extra Fields')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('issuetracker', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_issuetracker', repo_name=c.repo_name)}">${_('Issue Tracker')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('caches', c.active)}">
repo-caches: moved view into pyramid.
r1722 <a href="${h.route_path('edit_repo_caches', repo_name=c.repo_name)}">${_('Caches')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
apps: removed deprecated usage of c.repo_info
r2081 %if c.rhodecode_db_repo.repo_type != 'svn':
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('remote', c.active)}">
repositories: allow properly updating repository push url.
r2562 <a href="${h.route_path('edit_repo_remote', repo_name=c.repo_name)}">${_('Remote sync')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
%endif
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('statistics', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_statistics', repo_name=c.repo_name)}">${_('Statistics')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('integrations', c.active)}">
templating: use .mako as extensions for template files.
r1282 <a href="${h.route_path('repo_integrations_home', repo_name=c.repo_name)}">${_('Integrations')}</a>
</li>
apps: removed deprecated usage of c.repo_info
r2081 %if c.rhodecode_db_repo.repo_type != 'svn':
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('reviewers', c.active)}">
repo-reviewers: expose a default placeholder on CE edition....
r1725 <a href="${h.route_path('repo_reviewers', repo_name=c.repo_name)}">${_('Reviewer Rules')}</a>
</li>
%endif
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('automation', c.active)}">
repo-automation: added placeholder for EE feature.
r2565 <a href="${h.route_path('repo_automation', repo_name=c.repo_name)}">${_('Automation')}</a>
</li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('maintenance', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_maintenance', repo_name=c.repo_name)}">${_('Maintenance')}</a>
repositories: enabled support for maintenance commands....
r1555 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('strip', c.active)}">
repositories: rewrote whole admin section to pyramid....
r2014 <a href="${h.route_path('edit_repo_strip', repo_name=c.repo_name)}">${_('Strip')}</a>
Bartłomiej Wołyńczyk
strip: added functionality to stip choosen commits on repo settings
r1587 </li>
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active('audit', c.active)}">
audit-logs: expose tailoed audit logs in repository view
r2156 <a href="${h.route_path('edit_repo_audit_logs', repo_name=c.repo_name)}">${_('Audit logs')}</a>
</li>
repo-reviewers: expose a default placeholder on CE edition....
r1725
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
${self.main_content()}
</div>
</div>
</div>
</%def>