* Don't show message headers in a wiki room.
authorArt Cancro <ajc@citadel.org>
Wed, 7 Oct 2009 14:13:23 +0000 (14:13 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 7 Oct 2009 14:13:23 +0000 (14:13 +0000)
webcit/static/t/view_message.html

index bc55dec3030c6ae3b32bafa71de0f1d92534edaa..d5760a54439f6e8b97e0d9ec2c5ee58b48ad0199 100644 (file)
@@ -2,6 +2,7 @@
 onMouseOver=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="visible"
 onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden" >
 
+<??("COND:ROOM:TYPE_IS", 12, "VIEW_WIKI")><!-- skip headers for wiki rooms -->
 <div class="message_header">
  <span><?MAIL:SUMM:DATEFULL></span>
  <?_("from ")>
@@ -42,6 +43,7 @@ onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden
    <a href="#" onclick="window.open('printmsg/<?MAIL:SUMM:N>', 'print<?MAIL:SUMM:N>', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,width=600,height=400'); "><span>[</span><?_("Print")><span>]</span></a>
  </p>
 </div>
+<?!("X", 12)>
 <div class="message_content"><div>
 <?MAIL:BODY>
 <?!("COND:MAIL:MIME:ATTACH:SUBMESSAGES", 10)>