]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/templates/gitbranch.mdwn
git: do not fail to commit if committer is anonymous
[git.ikiwiki.info.git] / doc / templates / gitbranch.mdwn
index 10ff4de832ef5ba155ca4f6004e3d20812aa402f..853da92801ffc8c039c29f9133238cd4342aa4d6 100644 (file)
@@ -1,14 +1,8 @@
-<span class="infobox">
+<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>
+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: