##// END OF EJS Templates
caches: use repo.lru based Dict cache. This LRUDict uses Timing Algo to not have to use locking...
caches: use repo.lru based Dict cache. This LRUDict uses Timing Algo to not have to use locking for the LRU implementation, this it's safer to use for dogpile. We used it before with beaker, so it's generally more stable.

File last commit:

r2565:d8fc1e62 default
r2945:ec5716e4 default
Show More
repo_edit.mako
104 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()">
apps: removed deprecated usage of c.repo_info
r2081 ${_('%s repository settings') % 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()">
${self.repo_menu(active='options')}
</%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="title">
${self.repo_page_title(c.rhodecode_db_repo)}
${self.breadcrumbs()}
</div>
<div class="sidebar-col-wrapper scw-small">
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
<li class="${'active' if c.active=='settings' else ''}">
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>
<li class="${'active' if c.active=='permissions' else ''}">
repo-permissions: moved permissions into pyramid....
r1734 <a href="${h.route_path('edit_repo_perms', repo_name=c.repo_name)}">${_('Permissions')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
<li class="${'active' if c.active=='advanced' else ''}">
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>
<li class="${'active' if c.active=='vcs' else ''}">
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>
<li class="${'active' if c.active=='fields' else ''}">
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>
<li class="${'active' if c.active=='issuetracker' else ''}">
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>
<li class="${'active' if c.active=='caches' else ''}">
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':
templating: use .mako as extensions for template files.
r1282 <li class="${'active' if c.active=='remote' else ''}">
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
<li class="${'active' if c.active=='statistics' else ''}">
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>
<li class="${'active' if c.active=='integrations' else ''}">
<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':
repo-reviewers: expose a default placeholder on CE edition....
r1725 <li class="${'active' if c.active=='reviewers' else ''}">
<a href="${h.route_path('repo_reviewers', repo_name=c.repo_name)}">${_('Reviewer Rules')}</a>
</li>
%endif
repo-automation: added placeholder for EE feature.
r2565 <li class="${'active' if c.active=='automation' else ''}">
<a href="${h.route_path('repo_automation', repo_name=c.repo_name)}">${_('Automation')}</a>
</li>
repositories: enabled support for maintenance commands....
r1555 <li class="${'active' if c.active=='maintenance' else ''}">
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>
Bartłomiej Wołyńczyk
strip: added functionality to stip choosen commits on repo settings
r1587 <li class="${'active' if c.active=='strip' else ''}">
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>
audit-logs: expose tailoed audit logs in repository view
r2156 <li class="${'active' if c.active=='audit' else ''}">
<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>