diff rhodecode/templates/index_base.html @ 1770:184557472f5c beta

Implements #304 hashes in relevant places are displayed using monospaced font.
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 08 Dec 2011 04:32:42 +0200
parents db4852ed3413
children defcf245f3e9
line wrap: on
line diff
--- a/rhodecode/templates/index_base.html	Thu Dec 08 03:36:13 2011 +0200
+++ b/rhodecode/templates/index_base.html	Thu Dec 08 04:32:42 2011 +0200
@@ -9,7 +9,7 @@
                 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
                 <ul class="links">
                   <li>
-                    <span>${h.link_to(_('ADD NEW REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
+                    <span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
                   </li>          
                 </ul>           
                 %endif
@@ -139,11 +139,13 @@
                       ${h.age(repo['last_change'])}</span>
                     </td>
                     <td>
+                        <div>
                         %if repo['rev']>=0:
-                        <a title="${h.tooltip('%s\n%s' % (repo['author'],repo['last_msg']))}" class="tooltip" href="${h.url('changeset_home',repo_name=repo['name'],revision=repo['tip'])}">${'r%s:%s' % (repo['rev'],h.short_id(repo['tip']))}</a>
+                        <pre><a title="${h.tooltip('%s\n%s' % (repo['author'],repo['last_msg']))}" class="tooltip" href="${h.url('changeset_home',repo_name=repo['name'],revision=repo['tip'])}">${'r%s:%s' % (repo['rev'],h.short_id(repo['tip']))}</a></pre>
                         %else:
                             ${_('No changesets yet')}
-                        %endif    
+                        %endif
+                        </div>    
                     </td>
                     <td title="${repo['contact']}">${h.person(repo['contact'])}</td>
                     <td>