[Mpuls-commits] r6111 - base/trunk/mpulsweb/templates/administration
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 10 16:24:10 CEST 2012
Author: torsten
Date: 2012-10-10 16:24:10 +0200 (Wed, 10 Oct 2012)
New Revision: 6111
Modified:
base/trunk/mpulsweb/templates/administration/edit_user.mako
base/trunk/mpulsweb/templates/administration/new_user.mako
Log:
Show fkz in agency list
Modified: base/trunk/mpulsweb/templates/administration/edit_user.mako
===================================================================
--- base/trunk/mpulsweb/templates/administration/edit_user.mako 2012-10-10 14:21:04 UTC (rev 6110)
+++ base/trunk/mpulsweb/templates/administration/edit_user.mako 2012-10-10 14:24:10 UTC (rev 6111)
@@ -93,7 +93,7 @@
<select id="agencys" name="agencys" size="5" multiple>
% for agency in c.agency_list:
% if int(agency.id) in c.uo.linked_fkz:
- <option value="${agency.id}" selected="selected">${agency.name} (${agency.count})</option>
+ <option value="${agency.id}" selected="selected">[${agency.fkz}] - ${agency.name} (${agency.count})</option>
% else:
<option value="${agency.id}">[${agency.fkz}] - ${agency.name} (${agency.count})</option>
% endif
Modified: base/trunk/mpulsweb/templates/administration/new_user.mako
===================================================================
--- base/trunk/mpulsweb/templates/administration/new_user.mako 2012-10-10 14:21:04 UTC (rev 6110)
+++ base/trunk/mpulsweb/templates/administration/new_user.mako 2012-10-10 14:24:10 UTC (rev 6111)
@@ -89,7 +89,7 @@
<label for="agencys">${_('Agency')}</label><br>
<select id="agencys" name="agencys" size="5" multiple>
% for agency in c.agency_list:
- <option value="${agency.id}">${agency.name} (${agency.count})</option>
+ <option value="${agency.id}">[${agency.fkz}] - ${agency.name} (${agency.count})</option>
% endfor
</select>
</p>
More information about the Mpuls-commits
mailing list