[Mpuls-commits] r6080 - base/trunk/mpulsweb/templates/administration

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 1 16:47:48 CEST 2012


Author: torsten
Date: 2012-10-01 16:47:48 +0200 (Mon, 01 Oct 2012)
New Revision: 6080

Modified:
   base/trunk/mpulsweb/templates/administration/show_user_body.mako
Log:
Fixed check if agency in in linked_fkz


Modified: base/trunk/mpulsweb/templates/administration/show_user_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/administration/show_user_body.mako	2012-10-01 14:47:08 UTC (rev 6079)
+++ base/trunk/mpulsweb/templates/administration/show_user_body.mako	2012-10-01 14:47:48 UTC (rev 6080)
@@ -30,7 +30,7 @@
   % if g.mpuls_config.is_enabled('module', 'agency-overview'):
   <tr>
     <td class="label table_header_v">${_('Visibility')}</td>
-    <td class="table_row_v">${", ".join(agency.name for agency in c.agency_list if int(agency.id) in c.uo.linked_fkz)}</td>
+    <td class="table_row_v">${", ".join(agency.name for agency in c.agency_list if agency.id in c.uo.linked_fkz)}</td>
   </tr>
   % endif
 </table>



More information about the Mpuls-commits mailing list