[Mpuls-commits] r1284 - wasko/branches/2.0/waskaweb/templates/start

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Feb 5 16:22:16 CET 2010


Author: torsten
Date: 2010-02-05 16:22:15 +0100 (Fri, 05 Feb 2010)
New Revision: 1284

Modified:
   wasko/branches/2.0/waskaweb/templates/start/newslist.mako
Log:
* waskaweb/templates/start/newslist.mako: Call hide function in new
news controller to mark a news as read for the user. This means it
will not be displayed on the blackboard.


Modified: wasko/branches/2.0/waskaweb/templates/start/newslist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/start/newslist.mako	2010-02-05 15:20:57 UTC (rev 1283)
+++ wasko/branches/2.0/waskaweb/templates/start/newslist.mako	2010-02-05 15:22:15 UTC (rev 1284)
@@ -5,7 +5,7 @@
     <tr>
       <td class="date table_header_h">${h.dd_mm_YYYY(news.date)}</td>
       <td class="title table_header_h">${news.title}</td>
-      <td class="action table_header_h"><a href="${h.url_for(controller='/waska', action='markNewsAsRead', id=news.id)}">entfernen</a></td>
+      <td class="action table_header_h"><a href="${h.url_for(controller='/news', action='hide', id=news.id)}">entfernen</a></td>
     </tr>
     <tr>
       <td class="message" colspan="3">



More information about the Mpuls-commits mailing list