diff rhodecode/templates/changelog/changelog.html @ 3585:acc264c649d6 beta

adjust the width on changelog based on the show_id function output
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 25 Mar 2013 12:56:42 +0100
parents 1f334a68d057
children 549c73bfc206
line wrap: on
line diff
--- a/rhodecode/templates/changelog/changelog.html	Sun Mar 24 22:11:49 2013 +0100
+++ b/rhodecode/templates/changelog/changelog.html	Mon Mar 25 12:56:42 2013 +0100
@@ -62,7 +62,7 @@
                             <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),16)}"/>
                             <span title="${cs.author}" class="user">${h.shorter(h.person(cs.author),22)}</span>
                         </td>
-                        <td class="hash">
+                        <td class="hash" style="width:${len(h.show_id(cs))*6.5}px">
                             <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">
                                 <span class="changeset_hash">${h.show_id(cs)}</span>
                             </a>