Actually... The check for cc should control if cc is shown, not to..
authorMagnus Hagander <magnus@hagander.net>
Fri, 13 Jul 2012 15:56:48 +0000 (17:56 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 13 Jul 2012 15:57:22 +0000 (17:57 +0200)
django/archives/mailarchives/templates/message.html
django/archives/mailarchives/templates/message_flat.html

index 6c80f82bceac5b6ca2106365035106c51e9f0d51..4f78ce82d883edaa94e7429228d839fcecfa29f7 100644 (file)
@@ -34,15 +34,15 @@ span.listname {
   <th>From:</th>
   <td>{{msg.mailfrom|hidemail}}</td>
  </tr>
-{%if msg.cc%}<tr>
   <th>To:</th>
   <td>{{msg.to|hidemail}}</td>
  </tr>
-{%endif%}
+{%if msg.cc%}<tr>
  <tr>
   <th>Cc:</th>
   <td>{{msg.cc|hidemail}}</td>
  </tr>
+{%endif%}
  <tr>
   <th>Subject:</th>
   <td>{{msg.subject}}</td>
index a3d2cc0f114abe5b48a480dbb60776b7e0079603..ceaef61a33fa7f44fd1c9be367ba042515dd180a 100644 (file)
@@ -29,15 +29,15 @@ div.msgwrap {
   <th>From:</th>
   <td>{{m.mailfrom|hidemail}}</td>
  </tr>
-{%if m.cc%}<tr>
   <th>To:</th>
   <td>{{m.to|hidemail}}</td>
  </tr>
-{%endif%}
+{%if m.cc%}<tr>
  <tr>
   <th>Cc:</th>
   <td>{{m.cc|hidemail}}</td>
  </tr>
+{%endif%}
  <tr>
   <th>Subject:</th>
   <td>{{m.subject}}</td>