X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/92eb8b009b8881c74d246f8b54a133e833a62469..8cafcb065d739147ee8ea1d43d7923e5929ff33f:/doc/templates/gitbranch.mdwn?ds=sidebyside diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn index 2df75097f..4ea73c91b 100644 --- a/doc/templates/gitbranch.mdwn +++ b/doc/templates/gitbranch.mdwn @@ -1,15 +1,11 @@ -<span class="infobox"> +[[!templatebody <<ENDBODY +<div class="infobox"> Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br /> -Branch: <TMPL_IF browse> -<a href="<TMPL_VAR browse>"><TMPL_VAR branch></a> -<TMPL_ELSE> -<TMPL_VAR branch> -</TMPL_IF><br /> -<TMPL_IF author> -Author: <TMPL_VAR author><br /> -<TMPL_IF> -</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: @@ -19,4 +15,3 @@ these parameters: (e.g. github/master)</li> <li>author - the author of the branch</li> </ul> -</TMPL_UNLESS>