##// END OF EJS Templates
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.

File last commit:

r182:11e8eb5a default
r215:70f645fa default
Show More
admin.html
34 lines | 739 B | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repository managment')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
%if c.admin_user:
<ul class="submenu">
<li>
${h.link_to(u'Repos',h.url('repos'))}
</li>
<li>
${h.link_to(u'Users',h.url('users'))}
</li>
</ul>
<br/>
<div>
<h2>Welcome ${c.admin_username}</h2>
<div id="user_log">
${c.log_data}
</div>
</div>
%else:
<h2>${_('Sorry only admin users can acces this area')}</h2>
%endif
</%def>