diff rhodecode/templates/compare/compare_cs.html @ 3614:e8db9fe4cca3 beta

fix branch UI issue for git repos
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 27 Mar 2013 18:50:25 +0100
parents 5f1f77948355
children 458fd829aa20
line wrap: on
line diff
--- a/rhodecode/templates/compare/compare_cs.html	Wed Mar 27 18:47:40 2013 +0100
+++ b/rhodecode/templates/compare/compare_cs.html	Wed Mar 27 18:50:25 2013 +0100
@@ -19,7 +19,11 @@
           ${h.hidden('revisions',cs.raw_id)}
         %endif
         </td>
-        <td><span class="branchtag">${cs.branch}</span></td>
+        <td>
+        %if cs.branch:
+        <span class="branchtag">${cs.branch}</span>
+        %endif
+        </td>
         <td><div class="message tooltip" title="${h.tooltip(cs.message)}" style="white-space:normal">${h.urlify_commit(h.shorter(cs.message, 60),c.repo_name)}</div></td>
         </tr>
     %endfor