[Mpuls-commits] r5413 - base/trunk/mpulsweb/templates/evaluation
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Oct 6 16:07:56 CEST 2011
Author: torsten
Date: 2011-10-06 16:07:55 +0200 (Thu, 06 Oct 2011)
New Revision: 5413
Modified:
base/trunk/mpulsweb/templates/evaluation/evaluate.mako
Log:
Do not use the internal id of the evaluationset for rendering the reset link,
but take the out of the json file which configured the available ids.
Modified: base/trunk/mpulsweb/templates/evaluation/evaluate.mako
===================================================================
--- base/trunk/mpulsweb/templates/evaluation/evaluate.mako 2011-10-06 14:06:02 UTC (rev 5412)
+++ base/trunk/mpulsweb/templates/evaluation/evaluate.mako 2011-10-06 14:07:55 UTC (rev 5413)
@@ -65,7 +65,7 @@
<tr>
<td class="label">${_('Filter')}</td>
<td>
- ${_("Yes")} (<a href="${h.url_for(controller='/evaluate', action='reset_filter', id=c.evalconfig.get_setid())}">${_("Reset")}</a>)<br>
+ ${_("Yes")} (<a href="${h.url_for(controller='/evaluate', action='reset_filter', id=c.eval_config_id)}">${_("Reset")}</a>)<br>
${(ungettext("%d case has been selected for evaluation",
"%d cases have been selected for evaluation",
len(evaluation_ids)) % len(evaluation_ids))}
More information about the Mpuls-commits
mailing list