You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2013/02/09 21:30:24 UTC

svn commit: r1444425 - /tapestry/tapestry-site/trunk/template/template.vm

Author: bobharner
Date: Sat Feb  9 20:30:23 2013
New Revision: 1444425

URL: http://svn.apache.org/r1444425
Log:
Added Confluence "edit" link at the top-right of every published page (except Home page)

Modified:
    tapestry/tapestry-site/trunk/template/template.vm

Modified: tapestry/tapestry-site/trunk/template/template.vm
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/template/template.vm?rev=1444425&r1=1444424&r2=1444425&view=diff
==============================================================================
--- tapestry/tapestry-site/trunk/template/template.vm (original)
+++ tapestry/tapestry-site/trunk/template/template.vm Sat Feb  9 20:30:23 2013
@@ -48,6 +48,7 @@ $content.replaceAll("Page Title", $page.
   <div id="breadcrumbs">
     #set($content = $exporter.breadcrumbs($page))
     $content.replaceAll('<a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Index" title="Index">Index</a>&nbsp;&gt;&nbsp;',"").replaceAll("Home", "Index")
+    <a class="edit" title="Edit this page" href="$confluenceUri/pages/editpage.action?pageId=$page.id">edit page</a>)
   </div>
 
 <div id="content">