Add a 'New blog post' button to the Blog view
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 6 Jun 2011 18:20:26 +0000 (14:20 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 20:59:02 +0000 (20:59 +0000)
webcit/static/t/navbar.html

index cc82ab37f686f4fcf1de8232df9b49f522a609ca..a581084f425f5a5c70e77ac266323fbf412eec15 100644 (file)
                        </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")>">