[Mpuls-commits] r4329 - in base/trunk: . mpulsweb/templates/logbook

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Dec 6 15:50:19 CET 2010


Author: roland
Date: 2010-12-06 15:50:17 +0100 (Mon, 06 Dec 2010)
New Revision: 4329

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/logbook/overview.mako
Log:
set icon widths, to prevent problems with IE and be more HTML compliant

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-12-06 14:32:15 UTC (rev 4328)
+++ base/trunk/ChangeLog	2010-12-06 14:50:17 UTC (rev 4329)
@@ -1,5 +1,10 @@
-2010-12-02  Roland Geider <roland.geider at intevation.de>
+2010-12-06  Roland Geider <roland.geider at intevation.de>
 
+	* mpulsweb/templates/logbook/overview.mako: set icon widths, to
+	  prevent problems with IE and be more HTML compliant
+
+2010-12-06  Roland Geider <roland.geider at intevation.de>
+
 	* mpulsweb/public/styles/all.css,
 	  mpulsweb/templates/logbook/overview.mako: issue1493: middle-align
 	  the times for the logbook overview.

Modified: base/trunk/mpulsweb/templates/logbook/overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/logbook/overview.mako	2010-12-06 14:32:15 UTC (rev 4328)
+++ base/trunk/mpulsweb/templates/logbook/overview.mako	2010-12-06 14:50:17 UTC (rev 4329)
@@ -31,48 +31,72 @@
                            id=session.get('case').id, sort_field='datum', 
                            sort_order='asc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_asc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_asc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='datum', 
                            sort_order='desc')}"
          ><img class="sorticon" 
-               src="${h.url_for('/images/icons/sort_desc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_desc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
     </th>
     <th class="title table_header_h">Bearbeiter/in
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='bearbeiter',
                            sort_order='asc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_asc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_asc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='bearbeiter', 
                            sort_order='desc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_desc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_desc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
     </th>
     <th class="title table_header_h">Art
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='art',
                            sort_order='asc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_asc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_asc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='art',
                            sort_order='desc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_desc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_desc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
     </th>
     <th class="title table_header_h">Dauer (min)
       <a href="${h.url_for(controller='/logbook', action='index',
                            id=session.get('case').id, sort_field='dauer',
                            sort_order='asc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_asc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_asc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
       <a href="${h.url_for(controller='/logbook', action='index', 
                            id=session.get('case').id, sort_field='dauer',
                            sort_order='desc')}"
          ><img class="sorticon"
-               src="${h.url_for('/images/icons/sort_desc.png')}" alt=""></a>
+               src="${h.url_for('/images/icons/sort_desc.png')}"
+               alt=""
+               width="10"
+               height="9"></a>
     </th>
     <th class="action table_header_h">${_('app_overview_tbl_header_actions')}</th>
   </tr>
@@ -85,10 +109,18 @@
     <td class="centered title ">${entry.getDuration()}</td>
     <td class="action">
         <a href="${h.url_for(controller='/logbook', action='show', id=entry.id)}">
-            <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" alt="Eintrag ansehen" title="Eintrag ansehen"></a>
+            <img src="${h.url_for('/images/icons/open_active_22.png')}"
+                alt="Eintrag ansehen"
+                title="Eintrag ansehen"
+                width="22"
+                height="22"></a>
         % if h.hasRole(['cm_ka']) and entry.getKindAsInt() != 0 and session.get('case').getState().getState() == 1:
         <a href="${h.url_for(controller='/logbook', action='delete', id=entry.id, confirmed=0)}">
-            <img src="${h.url_for('/images/icons/delete_active_22.png')}" border="0" alt="Eintrag löschen" title="Eintrag löschen"></a>
+            <img src="${h.url_for('/images/icons/delete_active_22.png')}"
+            alt="${_('delete')}"
+            title="${_('delete')}"
+            width="22"
+            height="22"></a>
         % endif
     </td>
   </tr>



More information about the Mpuls-commits mailing list