comparison 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
comparison
equal deleted inserted replaced
1769:025f3333c769 1770:184557472f5c
7 </h5> 7 </h5>
8 %if c.rhodecode_user.username != 'default': 8 %if c.rhodecode_user.username != 'default':
9 %if h.HasPermissionAny('hg.admin','hg.create.repository')(): 9 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
10 <ul class="links"> 10 <ul class="links">
11 <li> 11 <li>
12 <span>${h.link_to(_('ADD NEW REPOSITORY'),h.url('admin_settings_create_repository'))}</span> 12 <span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
13 </li> 13 </li>
14 </ul> 14 </ul>
15 %endif 15 %endif
16 %endif 16 %endif
17 </div> 17 </div>
137 <td> 137 <td>
138 <span class="tooltip" title="${repo['last_change']}"> 138 <span class="tooltip" title="${repo['last_change']}">
139 ${h.age(repo['last_change'])}</span> 139 ${h.age(repo['last_change'])}</span>
140 </td> 140 </td>
141 <td> 141 <td>
142 <div>
142 %if repo['rev']>=0: 143 %if repo['rev']>=0:
143 <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> 144 <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>
144 %else: 145 %else:
145 ${_('No changesets yet')} 146 ${_('No changesets yet')}
146 %endif 147 %endif
148 </div>
147 </td> 149 </td>
148 <td title="${repo['contact']}">${h.person(repo['contact'])}</td> 150 <td title="${repo['contact']}">${h.person(repo['contact'])}</td>
149 <td> 151 <td>
150 %if c.rhodecode_user.username != 'default': 152 %if c.rhodecode_user.username != 'default':
151 <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'],api_key=c.rhodecode_user.api_key)}"></a> 153 <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'],api_key=c.rhodecode_user.api_key)}"></a>