[Mpuls-commits] r1363 - 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 12:45:46 CET 2010
Author: torsten
Date: 2010-02-09 12:45:44 +0100 (Tue, 09 Feb 2010)
New Revision: 1363
Added:
wasko/branches/2.0/mpulsweb/templates/administration/edit_usergroup.mako
Removed:
wasko/branches/2.0/waskaweb/templates/administration/edit_usergroup.mako
Log:
* mpulsweb/templates/administration/edit_usergroup.mako,
waskaweb/templates/administration/edit_usergroup.mako: Moved
template
Copied: wasko/branches/2.0/mpulsweb/templates/administration/edit_usergroup.mako (from rev 1337, wasko/branches/2.0/waskaweb/templates/administration/edit_usergroup.mako)
Property changes on: wasko/branches/2.0/mpulsweb/templates/administration/edit_usergroup.mako
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: wasko/branches/2.0/waskaweb/templates/administration/edit_usergroup.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/administration/edit_usergroup.mako 2010-02-09 11:44:13 UTC (rev 1362)
+++ wasko/branches/2.0/waskaweb/templates/administration/edit_usergroup.mako 2010-02-09 11:45:44 UTC (rev 1363)
@@ -1,76 +0,0 @@
-## -*- coding: utf-8 -*-
-<%! import mpulsweb.lib.helper.filters as F %>
-<%inherit file="../main.mako" />
-<%
- formular_labels = {'name' : 'adm_form_usergroup_name'
- }
-%>
-<%def name="buildNavipath()">
- ${parent.buildNavipath()}
- <li><a href="/administration">${_('adm_np_root')}</a></li>
- <li><a href="/administration/overviewUserGroups">${_('adm_np_usergroup_overview')}</a></li>
- <li><a href="/administration/editUserGroup/${c.group.id}">${_('adm_np_editusergroup')}</a></li>
-</%def>
-<div id="content_header_small">
- <div id="content_ueberschrift">
- ${_('adm_header_editusergroup')}
- </div>
- <div id="modusfield">
- <div class="actions">
- <ul>
- <li><a href="${h.url_for(controller='administration', action='overviewUserGroups')}"> ${_('menu_adm_link_usergroupoverview_back')}
- </a>
- </li>
- </ul>
- </div>
- </div>
-</div>
-${self.buildFormErrors(formular_labels)}
-<div id="admin_new_user">
- <div id="waska_form">
- <form action="/administration/editUserGroupAction" method="POST">
- <input type="hidden" name="id">
- <fieldset><legend>${_('adm_form_legend_groupdata')}</legend>
- <div class="w25">
- % if c.form_errors.get('name'):
- <label for="name" class="error_font">${_('adm_form_usergroup_name')}</label><br>
- <input type="text" class="field error_box" id="name" name="name" maxlength="128">
- % else:
- <label for="name">${_('adm_form_usergroup_name')}</label><br>
- <input type="text" class="field" id="name" name="name" maxlength="128">
- % endif
- </div>
- </fieldset>
- <fieldset><legend>${_('adm_form_legende_groupmember')}</legend>
- <table>
- <tr>
- <th class="table_header_h table_checkbox"> </th>
- <th class="table_header_h table_description">Mitarbeiterin / Mitarbeiter</th>
- </tr>
- <% idset = True %>
- % for user in c.userlist:
- <tr>
- % if idset:
- <td>
- <input type="checkbox" name="standin" value="${user.id | h}">
- </td>
- <td>
- ${user.last_name | F.NA, h}, ${user.first_name | F.NA, h}
- </td>
- % else:
- <td class="table_row_v_12">
- <input type="checkbox" name="standin" value="${user.id | h}">
- </td>
- <td class="table_row_v_12">
- ${user.last_name | F.NA, h}, ${user.first_name | F.NA, h}
- </td>
- % endif
- </tr>
- <% idset = not idset %>
- % endfor
- </table>
- </fieldset>
- <input type="submit" value="${_('adm_form_usergroup_submit')}">
- </form>
- </div>
-</div>
More information about the Mpuls-commits
mailing list