<span class="desc"><br />Date:</span>
<span class="changedate"><TMPL_VAR COMMITDATE></span>
<span class="desc"><br /></span>
-</div>
-<span class="revert">
+<TMPL_IF REVERTURL><span class="revert">
<a href="<TMPL_VAR REVERTURL>" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
-</span>
+</span></TMPL_IF>
+</div>
<div class="changelog">
<TMPL_LOOP MESSAGE>
<TMPL_IF LINE>