comparison rhodecode/templates/admin/gists/index.html @ 3851:24e479e21334 beta

Gist small ui improvements on listing
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 12 May 2013 17:07:28 +0200
parents bec04f371579
children 1fdec7e3aeb2
comparison
equal deleted inserted replaced
3850:7a4df261a375 3851:24e479e21334
36 %if c.gists_pager.item_count>0: 36 %if c.gists_pager.item_count>0:
37 % for gist in c.gists_pager: 37 % for gist in c.gists_pager:
38 <div class="gist-item" style="padding:10px 20px 10px 15px"> 38 <div class="gist-item" style="padding:10px 20px 10px 15px">
39 39
40 <div class="gravatar"> 40 <div class="gravatar">
41 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(gist.owner.full_contact),24)}"/> 41 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(gist.owner.full_contact),28)}"/>
42 </div> 42 </div>
43 <div title="${gist.owner.full_contact}" class="user"> 43 <div title="${gist.owner.full_contact}" class="user" style="font-size: 16px">
44 <b>${h.person(gist.owner.full_contact)}</b> / 44 <b>${h.person(gist.owner.full_contact)}</b> /
45 <b><a href="${h.url('gist',id=gist.gist_access_id)}">gist:${gist.gist_access_id}</a></b> 45 <b><a href="${h.url('gist',id=gist.gist_access_id)}">gist:${gist.gist_access_id}</a></b>
46 </div>
47 <div style="padding: 4px 0px 0px 0px">
48 ${_('Created')} ${h.age(gist.created_on)} /
46 <span style="color: #AAA"> 49 <span style="color: #AAA">
47 %if gist.gist_expires == -1: 50 %if gist.gist_expires == -1:
48 ${_('Expires')}: ${_('never')} 51 ${_('Expires')}: ${_('never')}
49 %else: 52 %else:
50 ${_('Expires')}: ${h.age(h.time_to_datetime(gist.gist_expires))} 53 ${_('Expires')}: ${h.age(h.time_to_datetime(gist.gist_expires))}
51 %endif 54 %endif
52 </span> 55 </span>
53 </div> 56 </div>
54 <div>${_('Created')} ${h.age(gist.created_on)}
55 </div>
56 57
57 <div style="border:0px;padding:10px 0px 0px 35px;color:#AAA">${gist.gist_description}</div> 58 <div style="border:0px;padding:10px 0px 0px 40px;color:#AAA">${gist.gist_description}</div>
58 </div> 59 </div>
59 % endfor 60 % endfor
60 61
61 <div class="notification-paginator"> 62 <div class="notification-paginator">
62 <div class="pagination-wh pagination-left"> 63 <div class="pagination-wh pagination-left">