projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7848bc2
)
Add a 'New blog post' button to the Blog view
author
Art Cancro
<ajc@uncensored.citadel.org>
Mon, 6 Jun 2011 18:20:26 +0000
(14:20 -0400)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 4 Sep 2011 20:59:02 +0000
(20:59 +0000)
webcit/static/t/navbar.html
patch
|
blob
|
history
diff --git
a/webcit/static/t/navbar.html
b/webcit/static/t/navbar.html
index cc82ab37f686f4fcf1de8232df9b49f522a609ca..a581084f425f5a5c70e77ac266323fbf412eec15 100644
(file)
--- a/
webcit/static/t/navbar.html
+++ b/
webcit/static/t/navbar.html
@@
-147,6
+147,15
@@
</a>
</li>
<??("X", 80)>
+
+<?!("COND:THISROOM:CURR_VIEW", 90, #"VIEW_BLOG")>
+ <li class="newmess">
+ <a href="javascript:GetLoggedInFirst('display_enter')">
+ <img src="static/newmess3_24x.gif" alt="" width="24" height="24">
+ <span class="navbar_link"><?_("New blog post")></span>
+ </a>
+ </li>
+<??("X", 90)>
<li class="skipthisroom">
<a href="skip" title="<?_("Leave all messages marked as unread, go to next room with unread messages")>">