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

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


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

Modified:
   wasko/branches/2.0/waskaweb/templates/logbook/overview.mako
Log:
* waskaweb/templates/logbook/overview.mako: Call show method in
logbook controller.


Modified: wasko/branches/2.0/waskaweb/templates/logbook/overview.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/logbook/overview.mako	2010-02-01 13:07:23 UTC (rev 1053)
+++ wasko/branches/2.0/waskaweb/templates/logbook/overview.mako	2010-02-01 13:13:16 UTC (rev 1054)
@@ -4,7 +4,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>
 </%def>
 
 <div id="content_header_small">
@@ -15,7 +15,7 @@
   <div id="modusfield">
     <div class="actions">
       <ul>
-        <li><a href="${h.url_for(controller='/case', action='newLogbookEntry', id=session.get('case').id)}">Eintrag vornehmen</a></li>
+        <li><a href="${h.url_for(controller='/logbook', action='new', id=session.get('case').id)}">Eintrag vornehmen</a></li>
         <li><a href="${h.url_for(controller='/logbook', action='printout', id=session.get('case').id)}" target="_blank">Druckansicht</a></li>
       </ul>
     </div>
@@ -50,7 +50,7 @@
     <td class="title">${entry.getKind() | h}</td>
     <td class="title">${entry.getDuration() | h}</td>
     <td class="action">
-        <a href="${h.url_for(controller='/case', action='showLogbookEntry', id=entry.id)}">
+        <a href="${h.url_for(controller='/logbook', action='show', id=entry.id)}">
             <img src="/images/icons/view_red.gif" border="0" alt="Eintrag ansehen" title="Eintrag ansehen"></a>
         % if h.hasRole(['cm_ka']) and entry.getKindAsInt() != 0:
         <a href="${h.url_for(controller='/case', action='deleteLogbookEntry', id=entry.id, confirmed=0)}">



More information about the Mpuls-commits mailing list