##// END OF EJS Templates
timezone: fix issues with timezone detection of current logic....
timezone: fix issues with timezone detection of current logic. - it was reported that in certain timezones e.g `US/Central` the generated offset was +19:00 which is incorrect and should be -05:00. - we now use a special library for detection of local timezone and use logic of pytz to calculate the offset - fixes #5371

File last commit:

r2014:b776c5e0 default
r2676:7fe5f77f default
Show More
repo_add.mako
37 lines | 818 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Add repository')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
%if c.rhodecode_user.is_admin:
repositories: rewrote whole admin section to pyramid....
r2014 ${h.link_to(_('Admin'), h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
repositories: rewrote whole admin section to pyramid....
r2014 ${h.link_to(_('Repositories'), h.route_path('repos'))}
templating: use .mako as extensions for template files.
r1282 %else:
${_('Admin')}
&raquo;
${_('Repositories')}
%endif
&raquo;
${_('Add Repository')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<%include file="repo_add_base.mako"/>
</div>
</%def>