Skip to content

Commit c716239

Browse files
committed
Semantic markup - remove table and use divs instead
1 parent a89c2d9 commit c716239

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

share/roundup/templates/responsive/html/msg.item.html

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,12 @@
4545
<dd tal:content="context/inreplyto"></dd>
4646
</dl>
4747

48-
<!-- not sure this is needed -->
49-
<table class="messages">
50-
<tr>
51-
<td class="content" colspan="2"
52-
tal:condition="python:context.content.is_view_ok()">
53-
<pre
54-
tal:content="structure python:utils.localReplace(context.content.hyperlinked())"></pre></td>
55-
<td class="content" colspan="2"
56-
tal:condition="python:not context.content.is_view_ok()">
48+
<div class='row-fluid' tal:condition="python:context.content.is_view_ok()">
49+
<pre tal:content="structure python:utils.localReplace(context.content.hyperlinked())"></pre>
50+
<div class='text-error' tal:condition="python:not context.content.is_view_ok()">
5751
You are not authorized to see this message.
58-
<!-- Message has been classified as spam and is therefore not
59-
available to unathorized users. If you think this is
60-
incorrect, please login and report the message as being
61-
misclassified. -->
62-
</td>
63-
</tr>
64-
</table>
52+
</div>
53+
</div>
6554

6655
<table class="files" tal:condition="context/files">
6756
<tr><th colspan="2" class="header" i18n:translate="">Files</th></tr>

0 commit comments

Comments
 (0)