[Mpuls-commits] r4218 - in base/trunk: . mpulsweb/templates/casemanagement mpulsweb/templates/phase mpulsweb/templates/tags

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 17 12:45:20 CET 2010


Author: roland
Date: 2010-11-17 12:45:19 +0100 (Wed, 17 Nov 2010)
New Revision: 4218

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/search.mako
   base/trunk/mpulsweb/templates/phase/phase.mako
   base/trunk/mpulsweb/templates/tags/tags.mako
Log:
issue1390: fixed issues with Internet Explorer (6)

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-11-17 11:31:26 UTC (rev 4217)
+++ base/trunk/ChangeLog	2010-11-17 11:45:19 UTC (rev 4218)
@@ -5,6 +5,8 @@
 	  mpulsweb/templates/casemanagement/dialogs/confirm_export.mako,
 	  mpulsweb/templates/casemanagement/search.mako,
 	  mpulsweb/templates/casemanagement/caselist.mako,
+	  mpulsweb/templates/tags/tags.mako,
+	  mpulsweb/templates/phase/phase.mako,
 	  mpulsweb/templates/casemanagement/digest.mako: issue1390: fixed
 	  issues with Internet Explorer when PNG images don't have an explicit
 	  "width" and "height" attribute

Modified: base/trunk/mpulsweb/templates/casemanagement/search.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-11-17 11:31:26 UTC (rev 4217)
+++ base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-11-17 11:45:19 UTC (rev 4218)
@@ -36,11 +36,19 @@
             <td>
               <input type="checkbox" name="own" id="show_own" value="1" checked="checked">
               <label for="show_own">
-                <img title="Eigene Fallakten" alt="Bearbeiter/in"  src="${h.url_for('/images/icons/edit_editor.png')}">Eigene (${c.count_own})
+                <img title="Eigene Fallakten"
+                    alt="Bearbeiter/in"
+                    src="${h.url_for('/images/icons/edit_editor.png')}"
+                    width="22"
+                    height="22">Eigene (${c.count_own})
               </label><br>
               <input type="checkbox" name="standin" id="show_other" value="1" checked="checked">
               <label for="show_other">
-                <img title="Vertreter Fallakten" alt="Vertreter"  src="${h.url_for('/images/icons/edit_editors_22.png')}">Vertretung (${c.count_standin})
+                <img title="Vertreter Fallakten"
+                    alt="Vertreter"
+                    src="${h.url_for('/images/icons/edit_editors_22.png')}"
+                    width="22"
+                    height="22">Vertretung (${c.count_standin})
               </label>
             </td>
             <td></td>

Modified: base/trunk/mpulsweb/templates/phase/phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/phase.mako	2010-11-17 11:31:26 UTC (rev 4217)
+++ base/trunk/mpulsweb/templates/phase/phase.mako	2010-11-17 11:45:19 UTC (rev 4218)
@@ -60,9 +60,15 @@
           </td>
           <td class="middle">
           % if p1.is_ok() and (c.phases.is_on_path(p1.id, current_phase,True) or c.phases.is_on_path(current_phase, p1.id, True)): 
-            <img src="${h.url_for('/images/icons/info/ok_22.png')}" alt="Ok">
+            <img src="${h.url_for('/images/icons/info/ok_22.png')}"
+                alt="Ok"
+                width="22"
+                height="22">
           % else:
-            <img src="${h.url_for('/images/icons/info/failure_22.png')}" alt="Error">
+            <img src="${h.url_for('/images/icons/info/failure_22.png')}"
+                    alt="Error"
+                    width="22"
+                    height="22">
           % endif
           </td>
           <td class="note" style="border-bottom: 1pt dotted; border-color: #000;">
@@ -96,9 +102,15 @@
         <tr class="${(num%2) and 'hl' or ''}">
           <td class="middle">
           % if p2.is_ok() and (c.phases.is_on_path(p2.id, current_phase, True) or c.phases.is_on_path(current_phase, p2.id, True)): 
-            <img src="${h.url_for('/images/icons/info/ok_22.png')}" alt="Ok">
+            <img src="${h.url_for('/images/icons/info/ok_22.png')}"
+                alt="Ok"
+                width="22"
+                height="22">
           % else:
-            <img src="${h.url_for('/images/icons/info/failure_22.png')}" alt="Error">
+            <img src="${h.url_for('/images/icons/info/failure_22.png')}"
+                alt="Error"
+                width="22"
+                height="22">
           % endif
           </td>
           <td class="note">

Modified: base/trunk/mpulsweb/templates/tags/tags.mako
===================================================================
--- base/trunk/mpulsweb/templates/tags/tags.mako	2010-11-17 11:31:26 UTC (rev 4217)
+++ base/trunk/mpulsweb/templates/tags/tags.mako	2010-11-17 11:45:19 UTC (rev 4218)
@@ -23,9 +23,15 @@
   <tr class="${num%2 and 'hl' or ''}">
     <td width="25px" class="middle">
       % if id in c.tags:
-        <img src="/images/icons/info/ok_22.png" alt="Ok">
+        <img src="/images/icons/info/ok_22.png"
+            alt="Ok"
+            width="22"
+            height="22">
       % else:
-        <img src="/images/icons/info/failure_22.png" alt="Error">
+        <img src="/images/icons/info/failure_22.png"
+            alt="Error"
+            width="22"
+            height="22">
       % endif
     </td>
     <td class="note">
@@ -41,9 +47,15 @@
   <tr class="${num%2 and 'hl' or ''}">
     <td width="25px" class="middle">
       % if id in c.tags:
-        <img src="/images/icons/info/ok_22.png" alt="Ok">
+        <img src="/images/icons/info/ok_22.png"
+            alt="Ok"
+            width="22"
+            height="22">
       % else:
-        <img src="/images/icons/info/failure_22.png" alt="Error">
+        <img src="/images/icons/info/failure_22.png"
+            alt="Error"
+            width="22"
+            height="22">
       % endif
     </td>
     <td class="note">
@@ -59,7 +71,10 @@
   % for num, id in enumerate(errors):
   <tr class="${num%2 and 'hl' or ''}">
     <td width="25px" class="middle">
-        <img src="/images/icons/info/failure_22.png" alt="Error">
+        <img src="/images/icons/info/failure_22.png"
+            alt="Error"
+            width="22"
+            height="22">
     </td>
     <td class="note">
       <strong>${g.taggingConf.get_name(id)}</strong> <!-- Tag-ID: (id:${id}) --><br>
@@ -70,7 +85,10 @@
   % if len(errors) < 1:
   <tr class="">
     <td width="25px" class="middle">
-        <img src="/images/icons/info/ok_22.png" alt="Error">
+        <img src="/images/icons/info/ok_22.png"
+            alt="Error"
+            width="22"
+            height="22">
     </td>
     <td class="note">
       <strong>${_('Data is consitent!')}</strong><br>



More information about the Mpuls-commits mailing list