projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a42c465
)
Only offer the 'Edit' option in mailbox rooms. Elsewhere it does not make sense.
author
Art Cancro
<ajc@uncensored.citadel.org>
Wed, 24 Aug 2011 21:12:03 +0000
(17:12 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Wed, 24 Aug 2011 21:12:03 +0000
(17:12 -0400)
webcit/static/t/view_message.html
patch
|
blob
|
history
diff --git
a/webcit/static/t/view_message.html
b/webcit/static/t/view_message.html
index cbfaef97cde401cd5dcdfe0f29a5236e504ee244..0cbb281fe92ea900c54671d90587624a58ba24ad 100644
(file)
--- a/
webcit/static/t/view_message.html
+++ b/
webcit/static/t/view_message.html
@@
-15,7
+15,9
@@
<?!("COND:MAIL:SUMM:CCCC", 6)><br><?_("CC:")><?MAIL:SUMM:CCCC("X")><??("X", 6)>
<?!("COND:MAIL:SUBJ", 7)><br><p class="message_subject"><?_("Subject:")> <?MAIL:SUMM:SUBJECT("X")></p><??("X", 7)>
<p id="msg<?MAIL:SUMM:N>" class="msgbuttons">
<?!("COND:MAIL:SUMM:CCCC", 6)><br><?_("CC:")><?MAIL:SUMM:CCCC("X")><??("X", 6)>
<?!("COND:MAIL:SUBJ", 7)><br><p class="message_subject"><?_("Subject:")> <?MAIL:SUMM:SUBJECT("X")></p><??("X", 7)>
<p id="msg<?MAIL:SUMM:N>" class="msgbuttons">
+<?!("COND:ROOM:TYPE_IS", 15, #"VIEW_MAILBOX")>
<a href="display_enter?edit=<?MAIL:SUMM:N>?recp=<?MAIL:SUMM:TO("U")>?cc=<?MAIL:SUMM:CCCC("U")>?subject=<?MAIL:SUMM:SUBJECT("U", 0, "", "")>?force_room=_MAIL_"><span>[</span><?_("Edit")><span>]</span></a>
<a href="display_enter?edit=<?MAIL:SUMM:N>?recp=<?MAIL:SUMM:TO("U")>?cc=<?MAIL:SUMM:CCCC("U")>?subject=<?MAIL:SUMM:SUBJECT("U", 0, "", "")>?force_room=_MAIL_"><span>[</span><?_("Edit")><span>]</span></a>
+<?!("X", 15)>
<?!("COND:ROOM:TYPE_IS", 8, #"VIEW_BBS")>
<a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter?replying_to=<?MAIL:SUMM:N>'));"><span>[</span><?_("Reply")><span>]</span></a>
<a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter?replying_to=<?MAIL:SUMM:N>?replyquote=<?MAIL:SUMM:N>'));"><span>[</span><?_("ReplyQuoted")><span>]</span></a>
<?!("COND:ROOM:TYPE_IS", 8, #"VIEW_BBS")>
<a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter?replying_to=<?MAIL:SUMM:N>'));"><span>[</span><?_("Reply")><span>]</span></a>
<a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter?replying_to=<?MAIL:SUMM:N>?replyquote=<?MAIL:SUMM:N>'));"><span>[</span><?_("ReplyQuoted")><span>]</span></a>