[Mpuls-commits] r1056 - wasko/branches/2.0/waskaweb/templates/logbook

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 1 14:16:24 CET 2010


Author: torsten
Date: 2010-02-01 14:16:23 +0100 (Mon, 01 Feb 2010)
New Revision: 1056

Modified:
   wasko/branches/2.0/waskaweb/templates/logbook/show.mako
Log:
* waskaweb/templates/logbook/show.mako: Call methods from logbook controller


Modified: wasko/branches/2.0/waskaweb/templates/logbook/show.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/logbook/show.mako	2010-02-01 13:13:39 UTC (rev 1055)
+++ wasko/branches/2.0/waskaweb/templates/logbook/show.mako	2010-02-01 13:16:23 UTC (rev 1056)
@@ -3,7 +3,7 @@
 <%def name="buildNavipath()">
   ${parent.buildNavipath()}
   <li><a href="/case/select/${session.get('case').id}/1">${_('cm_np_select')}</a></li>
-  <li><a href="/case/logbook/${session.get('case').id}">Tagebuch</a></li>
+  <li><a href="/logbook/index/${session.get('case').id}">Tagebuch</a></li>
   <li><a href="#"></a>Tagebucheintrag</a></li>
 </%def>
 <div id="content_header_small">
@@ -15,13 +15,13 @@
       <ul>
         % if h.hasRole(['cm_ka']) and c.entry.getKindAsInt() != 0:
         <li>
-          <a href="${h.url_for(controller='/case', action='editLogbookEntry', id=c.entry.id)}">
+          <a href="${h.url_for(controller='/logbook', action='edit', id=c.entry.id)}">
             In Bearbeitung nehmen
           </a>
         </li>
         % endif
         <li>
-          <a href="/case/logbook/${session.get('case').id}">Zur&uuml;ck zu: Tagebuch</a>
+          <a href="/logbook/index/${session.get('case').id}">Zur&uuml;ck zu: Tagebuch</a>
         </li>
       </ul>
     </div>



More information about the Mpuls-commits mailing list