[Arbrows-commit] arbrows commit : r108 - in trunk/src/arbrows/templates/default/browser: list mail

From : arbrows-commit@... , the 14th juin 2009 23:40
  • 2009-06-14 23:40:19 — arbrows-commit@... - [Arbrows-commit] arbrows commit : r108 - in trunk/src/arbrows/templates/default/browser: list mail

Author: nahuel Date: 2009-06-14 23:40:19 +0200 (Sun, 14 Jun 2009) New Revision: 108 Modified:    trunk/src/arbrows/templates/default/browser/list/thread.html    trunk/src/arbrows/templates/default/browser/mail/index.html Log: Show emails if user is authenticated Modified: trunk/src/arbrows/templates/default/browser/list/thread.html =================================================================== --- trunk/src/arbrows/templates/default/browser/list/thread.html 2009-06-14 21:27:17 UTC (rev 107) +++ trunk/src/arbrows/templates/default/browser/list/thread.html 2009-06-14 21:40:19 UTC (rev 108) @@ -1,6 +1,7 @@  {% load filters %}   - {{object.mail.date}} - {{object.mail.sender.email|antispam}} -  + {{object.mail.date}} -  + {% if user.is_anonymous %}{{object.mail.sender.email|antispam}}{% else %}{{object.mail.sender.email}}{% endif %} -    {{object.mail.subject}}   {% with "browser/list/thread.html" as filename %}     {% for mid, object in object.mails.items %} Modified: trunk/src/arbrows/templates/default/browser/mail/index.html =================================================================== --- trunk/src/arbrows/templates/default/browser/mail/index.html 2009-06-14 21:27:17 UTC (rev 107) +++ trunk/src/arbrows/templates/default/browser/mail/index.html 2009-06-14 21:40:19 UTC (rev 108) @@ -8,7 +8,13 @@                 {{mail.subject}} -         {{mail.sender.email|antispam}} +          +          {% if user.is_anonymous %} +          {{mail.sender.email|antispam}} +         {% else %} +          {{mail.sender.email}} +         {% endif %} +                    {{mail.date}}           {% if mail.answers %}           Answers :