[Mpuls-commits] r1347 - in wasko/branches/2.0: mpulsweb/templates/administration waskaweb/templates/administration
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 9 10:13:00 CET 2010
Author: torsten
Date: 2010-02-09 10:12:59 +0100 (Tue, 09 Feb 2010)
New Revision: 1347
Added:
wasko/branches/2.0/mpulsweb/templates/administration/overview_user.mako
Removed:
wasko/branches/2.0/waskaweb/templates/administration/overview_user.mako
Log:
* mpulsweb/templates/administration/overview_user.mako,
waskaweb/templates/administration/overview_user.mako: Moved template
for user overview to base.
Copied: wasko/branches/2.0/mpulsweb/templates/administration/overview_user.mako (from rev 1337, wasko/branches/2.0/waskaweb/templates/administration/overview_user.mako)
Property changes on: wasko/branches/2.0/mpulsweb/templates/administration/overview_user.mako
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: wasko/branches/2.0/waskaweb/templates/administration/overview_user.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/administration/overview_user.mako 2010-02-09 09:06:50 UTC (rev 1346)
+++ wasko/branches/2.0/waskaweb/templates/administration/overview_user.mako 2010-02-09 09:12:59 UTC (rev 1347)
@@ -1,70 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="../main.mako" />
-<%! import mpulsweb.lib.helper.filters as F %>
-<%def name="buildNavipath()">
- ${parent.buildNavipath()}
- <li><a href="/administration">${_('adm_np_root')}</a></li>
- <li><a href="/administration/overviewUser">${_('adm_np_overview')}</a></li>
-</%def>
-
-
-<div id="content_header_small">
- <div id="content_ueberschrift">
- ${_('adm_header_overview')}
- </div>
- <div id="modusfield">
- <div class="actions">
- <ul>
- <li><a href="/administration/newUser"> ${_('adm_actions_link_newuser')}</a></li>
- </ul>
- </div>
- </div>
-</div>
-<table>
- <tr>
- <th class="table_header_h table_width_mid">${_('adm_overview_tbl_header_lastname')}</th>
- <th class="table_header_h table_width_mid">${_('adm_overview_tbl_header_firstname')}</th>
- <th class="table_header_h table_width_mid_s">${_('adm_overview_tbl_header_role')}</th>
- <th class="table_header_h table_width_mid_s">${_('adm_overview_tbl_header_actions')}</th>
- </tr>
- <% idset = 0 %>
- % for user in c.user_overview:
- % if user.login != 'adm':
- % if idset==0:
- <tr>
- <td>${user.last_name| F.NA, h}</td>
- <td>${user.first_name| F.NA, h}</td>
- % if user.getRole() == 'Admin':
- <td><img src="/images/icons/admin_grey_tag.gif" alt="Administratorin, Administrator" title="Administrator/in"></td>
- % else:
- <td><img src="/images/icons/cm_grey_tag_width.gif" alt="Case-Managerin, Case-Manager" title="Case-Manager/in"></td>
- % endif
- <td>
- <a href="/administration/showUser/${user.id}"><img src="/images/icons/view_red.gif" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
- % if str(user.id) != str(session.get('USER_AUTHORIZED').id):
- <a href="/administration/deleteUser/${user.id}"><img src="/images/icons/delete_red.gif" border="0" alt="${_('cm_overview_a_delete')}" title="${_('cm_overview_a_delete')}"></a>
- % endif
- </td>
- </tr>
- <% idset = 1 %>
- % else:
- <tr>
- <td class="table_row_h">${user.last_name| F.NA, h}</td>
- <td class="table_row_h">${user.first_name| F.NA, h}</td>
- % if user.getRole() == 'Admin':
- <td class="table_row_h"><img src="/images/icons/admin_grey_tag.gif" alt="Administratorin, Administrator" title="Administrator/in"></td>
- % else:
- <td class="table_row_h"><img src="/images/icons/cm_grey_tag_width.gif" alt="Case-Managerin, Case-Manager" title="Case-Manager/in"></td>
- % endif
- <td class="table_row_h">
- <a href="/administration/showUser/${user.id}"><img src="/images/icons/view_red.gif" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
- % if str(user.id) != str(session.get('USER_AUTHORIZED').id):
- <a href="/administration/deleteUser/${user.id}"><img src="/images/icons/delete_red.gif" border="0" alt="${_('cm_overview_a_delete')}" title="${_('cm_overview_a_delete')}"></a>
- % endif
- </td>
- </tr>
- <% idset = 0 %>
- % endif
- % endif
- % endfor
-</table>
More information about the Mpuls-commits
mailing list