Files
@ c8162373f214
Branch filter:
Location: kallithea/pylons_app/templates/admin/admin.html - annotation
c8162373f214
576 B
text/html
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
20dc7a5eb748 20dc7a5eb748 d69e19fc2795 20dc7a5eb748 c8162373f214 20dc7a5eb748 20dc7a5eb748 fec7d0707e72 d69e19fc2795 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 c8162373f214 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 d69e19fc2795 d69e19fc2795 c8162373f214 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 20dc7a5eb748 d69e19fc2795 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Administration')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
</%def>
<%def name="page_nav()">
${self.menu('admin')}
${self.submenu('')}
</%def>
<%def name="main()">
%if c.admin_user:
<div>
<h2>Welcome ${c.admin_username}</h2>
${_('Last actions')}
<div id="user_log">
${c.log_data}
</div>
</div>
%else:
<h2>${_('Sorry only admin users can acces this area')}</h2>
%endif
</%def>
|