comparison rhodecode/templates/admin/gists/index.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl

Imported some of the GPLv3'd changes from RhodeCode v2.2.5. This imports changes between changesets 21af6c4eab3d and 6177597791c2 in RhodeCode's original repository, including only changes to Python files and HTML. RhodeCode clearly licensed its changes to these files under GPLv3 in their /LICENSE file, which states the following: The Python code and integrated HTML are licensed under the GPLv3 license. (See: https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE or http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE for an online copy of that LICENSE file) Conservancy reviewed these changes and confirmed that they can be licensed as a whole to the Kallithea project under GPLv3-only. While some of the contents committed herein are clearly licensed GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the statement above from RhodeCode indicates that they intend GPLv3-only as their license, per GPLv3ยง14 and other relevant sections of GPLv3.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:03:13 -0400
parents 1fdec7e3aeb2
children
comparison
equal deleted inserted replaced
4115:8b7294a804a0 4116:ffd45b185016
1 ## -*- coding: utf-8 -*- 1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/> 2 <%inherit file="/base/base.html"/>
3 3
4 <%def name="title()"> 4 <%def name="title()">
5 ${_('Gists')} &middot; ${c.rhodecode_name} 5 %if c.show_private:
6 ${_('Private Gists for user %s') % c.rhodecode_user.username}
7 %elif c.show_public:
8 ${_('Public Gists for user %s') % c.rhodecode_user.username}
9 %else:
10 ${_('Public Gists')}
11 %endif
12 %if c.rhodecode_name:
13 &middot; ${c.rhodecode_name}
14 %endif
6 </%def> 15 </%def>
7 16
8 <%def name="breadcrumbs_links()"> 17 <%def name="breadcrumbs_links()">
9 %if c.show_private: 18 %if c.show_private:
10 ${_('Private Gists for user %s') % c.rhodecode_user.username} 19 ${_('Private Gists for user %s') % c.rhodecode_user.username}
26 <div class="title"> 35 <div class="title">
27 ${self.breadcrumbs()} 36 ${self.breadcrumbs()}
28 %if c.rhodecode_user.username != 'default': 37 %if c.rhodecode_user.username != 'default':
29 <ul class="links"> 38 <ul class="links">
30 <li> 39 <li>
31 <span>${h.link_to(_(u'Create new gist'), h.url('new_gist'))}</span> 40 <a href="${h.url('new_gist')}" class="btn btn-small btn-success"><i class="icon-plus"></i> ${_(u'Create New Gist')}</a>
32 </li> 41 </li>
33 </ul> 42 </ul>
34 %endif 43 %endif
35 </div> 44 </div>
36 %if c.gists_pager.item_count>0: 45 %if c.gists_pager.item_count>0:
40 <div class="gravatar"> 49 <div class="gravatar">
41 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(gist.owner.full_contact),28)}"/> 50 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(gist.owner.full_contact),28)}"/>
42 </div> 51 </div>
43 <div title="${gist.owner.full_contact}" class="user" style="font-size: 16px"> 52 <div title="${gist.owner.full_contact}" class="user" style="font-size: 16px">
44 <b>${h.person(gist.owner.full_contact)}</b> / 53 <b>${h.person(gist.owner.full_contact)}</b> /
45 <b><a href="${h.url('gist',gist_id=gist.gist_access_id)}">gist:${gist.gist_access_id}</a></b> 54 <b><a href="${h.url('gist',gist_id=gist.gist_access_id)}">gist: ${gist.gist_access_id}</a></b>
46 </div> 55 </div>
47 <div style="padding: 4px 0px 0px 0px"> 56 <div style="padding: 4px 0px 0px 0px">
48 ${_('Created')} ${h.age(gist.created_on)} / 57 ${_('Created')} ${h.age(gist.created_on)} /
49 <span style="color: #AAA"> 58 <span style="color: #AAA">
50 %if gist.gist_expires == -1: 59 %if gist.gist_expires == -1:
59 </div> 68 </div>
60 % endfor 69 % endfor
61 70
62 <div class="notification-paginator"> 71 <div class="notification-paginator">
63 <div class="pagination-wh pagination-left"> 72 <div class="pagination-wh pagination-left">
64 ${c.gists_pager.pager('$link_previous ~2~ $link_next')} 73 ${c.gists_pager.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}
65 </div> 74 </div>
66 </div> 75 </div>
67 %else: 76 %else:
68 <div class="table">${_('There are no gists yet')}</div> 77 <div class="table">${_('There are no gists yet')}</div>
69 %endif 78 %endif