changeset 4701:93c5489c0ede

Semantic markup - remove table and use divs instead
author Pradip Caulagi <caulagi@gmail.com>
date Sun, 16 Dec 2012 12:49:41 +0530
parents 0904d1dfd6f8
children 3dc458554d68 4ac96eb1a02f
files share/roundup/templates/responsive/html/msg.item.html
diffstat 1 files changed, 5 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/share/roundup/templates/responsive/html/msg.item.html	Sun Dec 16 12:31:49 2012 +0530
+++ b/share/roundup/templates/responsive/html/msg.item.html	Sun Dec 16 12:49:41 2012 +0530
@@ -45,23 +45,12 @@
       <dd tal:content="context/inreplyto"></dd>
     </dl>
 
-    <!-- not sure this is needed -->
-    <table class="messages">
-     <tr>
-      <td class="content" colspan="2"
-          tal:condition="python:context.content.is_view_ok()">
-          <pre
-          tal:content="structure python:utils.localReplace(context.content.hyperlinked())"></pre></td>
-      <td class="content" colspan="2"
-          tal:condition="python:not context.content.is_view_ok()">
+    <div class='row-fluid' tal:condition="python:context.content.is_view_ok()">
+      <pre tal:content="structure python:utils.localReplace(context.content.hyperlinked())"></pre>
+      <div class='text-error' tal:condition="python:not context.content.is_view_ok()">
           You are not authorized to see this message.
-    <!--            Message has been classified as spam and is therefore not
-          available to unathorized users. If you think this is
-          incorrect, please login and report the message as being
-          misclassified. -->
-      </td> 
-     </tr>
-    </table>
+      </div> 
+    </div>
 
     <table class="files" tal:condition="context/files">
      <tr><th colspan="2" class="header" i18n:translate="">Files</th></tr>

Roundup Issue Tracker: http://roundup-tracker.org/