projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245745c
)
add edit option
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 2 Feb 2020 13:07:35 +0000
(13:07 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 2 Feb 2020 13:07:35 +0000
(13:07 +0000)
templates/page.tmpl
patch
|
blob
|
history
diff --git
a/templates/page.tmpl
b/templates/page.tmpl
index ca9e0ccc5673ff469e34f2fd81a6f96c32b49ea0..6b07122eca18daa64ac317285468ed3f280701a3 100644
(file)
--- a/
templates/page.tmpl
+++ b/
templates/page.tmpl
@@
-50,6
+50,10
@@
<li <TMPL_IF ACTIVE>class="active"</TMPL_IF>><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
</TMPL_IF>
</TMPL_LOOP>
+<TMPL_IF EDITURL>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
+</TMPL_IF>
+
</ul>
</div>
</div>