##// END OF EJS Templates
fixed some spelling mistakes
fixed some spelling mistakes

File last commit:

r531:6fc59ac3 default
r540:efbab97c default
Show More
repos.html
78 lines | 2.9 KiB | text/html | HtmlLexer
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ## -*- coding: utf-8 -*-
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%inherit file="/base/base.html"/>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="title()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${_('Repositories administration')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Repositories')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="page_nav()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
version bump to 0.8...
r362 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
templating fixes
r375 <span>${h.link_to(u'ADD NEW REPOSITORY',h.url('new_repo'),class_="add_icon")}</span>
version bump to 0.8...
r362 </li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
html + css changes, added icons and etc.
r219 <table class="table_disp">
<tr class="header">
added info about forked repository in few places...
r531 <th class="left">${_('Name')}</th>
<th class="left">${_('Description')}</th>
<th class="left">${_('Last change')}</th>
<th class="left">${_('Tip')}</th>
<th class="left">${_('Contact')}</th>
version bump to 0.8...
r362 <th class="left">${_('action')}</th>
html + css changes, added icons and etc.
r219 </tr>
version bump to 0.8...
r362 %for cnt,repo in enumerate(c.repos_list):
<tr class="parity${cnt%2}">
<td>
%if repo['repo'].dbrepo.private:
<img alt="${_('private')}" src="/images/icons/lock.png"/>
%else:
<img alt="${_('public')}" src="/images/icons/lock_open.png"/>
%endif
added info about forked repository in few places...
r531 ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}
%if repo['repo'].dbrepo.fork:
<a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
<img class="icon" alt="${_('public')}"
title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}"
src="/images/icons/arrow_divide.png"/></a>
%endif
</td>
<td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
<td>${h.age(repo['last_change'])}</td>
<td>
%if repo['rev']>=0:
${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),
h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
class_="tooltip",
tooltip_title=h.tooltip(repo['last_msg']))}
%else:
${_('No changesets yet')}
%endif
</td>
<td title="${repo['contact']}">${h.person(repo['contact'])}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>
repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes....
r299 ${h.form(url('repo', repo_name=repo['name']),method='delete')}
fixed min width set....
r379 ${h.submit('remove_%s' % repo['name'],'delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 ${h.end_form()}
version bump to 0.8...
r362 </td>
</tr>
%endfor
</table>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </div>
version bump to 0.8...
r362 </div>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 </%def>