X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9f401d6617a11efcedda1c956b2ccea061a7540f..03b956ab4cb2fee8f7b93e725869060bb45fa4ea:/doc/templates/gitbranch.mdwn?ds=inline diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn index 962420940..853da9280 100644 --- a/doc/templates/gitbranch.mdwn +++ b/doc/templates/gitbranch.mdwn @@ -1,8 +1,8 @@ -<span class="infobox"> -Available in a [[!taglink /git]] repository.<br /> -Branch: <TMPL_VAR branch><br /> -Author: <TMPL_VAR author><br /> -</span> +<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><br /> +<TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF> +</div> <TMPL_UNLESS branch> This template is used to create an infobox for a git branch. It uses these parameters: @@ -13,6 +13,4 @@ these parameters: (e.g. github/master)</li> <li>author - the author of the branch</li> </ul> - -It also automatically tags the branch with `/git`. </TMPL_UNLESS>