##// END OF EJS Templates
Update LICENSE.md to include license information about Codemirror 3.15...
Update LICENSE.md to include license information about Codemirror 3.15 Add information to the LICENSE.md file to include the information provided in the codemirror-3.15/LICENSE file. Also, note that other license and copyright information also appears in .../public/js/mode/ sub-directories.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4121:8c543e37 rhodecode-2.2.5-gpl
Show More
index.html
80 lines | 2.6 KiB | text/html | HtmlLexer
Implemented simple gist functionality ref #530....
r3840 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 %if c.show_private:
${_('Private Gists for user %s') % c.rhodecode_user.username}
%elif c.show_public:
${_('Public Gists for user %s') % c.rhodecode_user.username}
%else:
${_('Public Gists')}
%endif
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
Implemented simple gist functionality ref #530....
r3840 </%def>
<%def name="breadcrumbs_links()">
%if c.show_private:
${_('Private Gists for user %s') % c.rhodecode_user.username}
Gist: added shortcut for my public gists
r3847 %elif c.show_public:
${_('Public Gists for user %s') % c.rhodecode_user.username}
Implemented simple gist functionality ref #530....
r3840 %else:
${_('Public Gists')}
%endif
- ${c.gists_pager.item_count}
</%def>
<%def name="page_nav()">
${self.menu('gists')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
%if c.rhodecode_user.username != 'default':
<ul class="links">
<li>
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <a href="${h.url('new_gist')}" class="btn btn-small btn-success"><i class="icon-plus"></i> ${_(u'Create New Gist')}</a>
Implemented simple gist functionality ref #530....
r3840 </li>
</ul>
%endif
</div>
%if c.gists_pager.item_count>0:
% for gist in c.gists_pager:
<div class="gist-item" style="padding:10px 20px 10px 15px">
<div class="gravatar">
Gist small ui improvements on listing
r3851 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(gist.owner.full_contact),28)}"/>
Implemented simple gist functionality ref #530....
r3840 </div>
Gist small ui improvements on listing
r3851 <div title="${gist.owner.full_contact}" class="user" style="font-size: 16px">
Implemented simple gist functionality ref #530....
r3840 <b>${h.person(gist.owner.full_contact)}</b> /
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <b><a href="${h.url('gist',gist_id=gist.gist_access_id)}">gist: ${gist.gist_access_id}</a></b>
Gist small ui improvements on listing
r3851 </div>
<div style="padding: 4px 0px 0px 0px">
${_('Created')} ${h.age(gist.created_on)} /
Implemented simple gist functionality ref #530....
r3840 <span style="color: #AAA">
%if gist.gist_expires == -1:
${_('Expires')}: ${_('never')}
%else:
${_('Expires')}: ${h.age(h.time_to_datetime(gist.gist_expires))}
%endif
</span>
</div>
Gist small ui improvements on listing
r3851 <div style="border:0px;padding:10px 0px 0px 40px;color:#AAA">${gist.gist_description}</div>
Implemented simple gist functionality ref #530....
r3840 </div>
% endfor
<div class="notification-paginator">
<div class="pagination-wh pagination-left">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${c.gists_pager.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}
Implemented simple gist functionality ref #530....
r3840 </div>
</div>
%else:
<div class="table">${_('There are no gists yet')}</div>
%endif
</div>
</%def>