changeset 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 6bc4b63bb225
children 50927aedcab5
files rhodecode/templates/compare/compare_cs.html
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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