X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0437084ce9cbcd254b2ec84c8582a780eebd2dc1..d9927033b73d12c767d93efac9b6282b6d7a952d:/doc/templates/gitbranch.mdwn diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn index 62171bc60..4ea73c91b 100644 --- a/doc/templates/gitbranch.mdwn +++ b/doc/templates/gitbranch.mdwn @@ -1,9 +1,11 @@ +[[!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_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF> -<TMPL_IF>Author: <TMPL_VAR author><br /></TMPL_IF> +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> -<TMPL_UNLESS branch> +ENDBODY]] + 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> -</TMPL_UNLESS>