Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for rename of recentchanges.mdwn to json.tl.ph.mdwn
[git.ikiwiki.info.git]
/
doc
/
templates
/
gitbranch.mdwn
diff --git
a/doc/templates/gitbranch.mdwn
b/doc/templates/gitbranch.mdwn
index 4fdf937ff2da6be6b794cb44dce850f08700b548..4ea73c91b24c6d6f6b545caf7d9334a22c1c62b4 100644
(file)
--- a/
doc/templates/gitbranch.mdwn
+++ b/
doc/templates/gitbranch.mdwn
@@
-1,9
+1,11
@@
-<span class="infobox">
+[[!templatebody <<ENDBODY
+<div class="infobox">
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
-Branch: <TMPL_VAR branch><br />
-Author: <TMPL_VAR author><br />
-</span>
-<TMPL_UNLESS branch>
+Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF><br />
+<TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF>
+</div>
+ENDBODY]]
+
This template is used to create an infobox for a git branch. It uses
these parameters:
This template is used to create an infobox for a git branch. It uses
these parameters:
@@
-13,4
+15,3
@@
these parameters:
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
-</TMPL_UNLESS>