annotate rhodecode/templates/index_base.html @ 1678:aa6a1c6f2ac5 beta

remove inline comments forms for anonymous users
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 13 Nov 2011 16:38:34 +0200
parents fab837f40cf7
children 61eda8bf70d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 <%page args="parent" />
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <div class="box">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 <!-- box / title -->
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <div class="title">
1475
aa805ee6ee09 fixes code view issue on chrome
Marcin Kuzminski <marcin@python-works.com>
parents: 1458
diff changeset
5 <h5>
1667
fab837f40cf7 fixed repo counter on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1653
diff changeset
6 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> ${parent.breadcrumbs()} <span id="repo_count">${len(c.repos_list)}</span> ${_('repositories')}
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 </h5>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 %if c.rhodecode_user.username != 'default':
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 <ul class="links">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 <li>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 <span>${h.link_to(_('ADD NEW REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 </li>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 </ul>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 </div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 <!-- end box / title -->
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19 <div class="table">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 % if c.groups:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21 <table>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 <thead>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
23 <tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 <th class="left"><a href="#">${_('Group name')}</a></th>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 <th class="left"><a href="#">${_('Description')}</a></th>
1437
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
26 ##<th class="left"><a href="#">${_('Number of repositories')}</a></th>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 </tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 </thead>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 ## REPO GROUPS
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
32 % for gr in c.groups:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 <tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
34 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
35 <div style="white-space: nowrap">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
36 <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/>
1538
27be8f94c207 implements #226 repo groups available by path
Marcin Kuzminski <marcin@python-works.com>
parents: 1482
diff changeset
37 ${h.link_to(gr.name,url('repos_group_home',group_name=gr.group_name))}
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
38 </div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
39 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
40 <td>${gr.group_description}</td>
1437
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
41 ##<td><b>${gr.repositories.count()}</b></td>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
42 </tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
43 % endfor
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
44
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
45 </table>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
46 <div style="height: 20px"></div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
47 % endif
1437
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
48 <div id="welcome" style="display:none;text-align:center">
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
49 <h1><a href="${h.url('home')}">${c.rhodecode_name} ${c.rhodecode_version}</a></h1>
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
50 </div>
7a46d67c263c added welcome message if no repositories are present in current view
Marcin Kuzminski <marcin@python-works.com>
parents: 1426
diff changeset
51 <table id="repos_list">
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
52 <thead>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
53 <tr>
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
54 <th class="left"></th>
1482
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
55 <th class="left">${_('Name')}</th>
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
56 <th class="left">${_('Description')}</th>
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
57 <th class="left">${_('Last change')}</th>
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
58 <th class="left">${_('Tip')}</th>
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
59 <th class="left">${_('Owner')}</th>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
60 <th class="left">${_('RSS')}</th>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
61 <th class="left">${_('Atom')}</th>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
62 </tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
63 </thead>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
64 <tbody>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
65 %for cnt,repo in enumerate(c.repos_list):
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
66 <tr class="parity${cnt%2}">
1424
ac0c4e600426 removed obsolete class from quick menu
Marcin Kuzminski <marcin@python-works.com>
parents: 1423
diff changeset
67 <td class="quick_repo_menu">
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
68 <ul class="menu_items hidden">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
69 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
70 <a title="${_('Summary')}" href="${h.url('summary_home',repo_name=repo['name'])}">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
71 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
72 <img src="${h.url('/images/icons/clipboard_16.png')}" alt="${_('Summary')}" />
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
73 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
74 <span>${_('Summary')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
75 </a>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
76 </li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
77 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
78 <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=repo['name'])}">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
79 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
80 <img src="${h.url('/images/icons/time.png')}" alt="${_('Changelog')}" />
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
81 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
82 <span>${_('Changelog')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
83 </a>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
84 </li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
85 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
86 <a title="${_('Files')}" href="${h.url('files_home',repo_name=repo['name'])}">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
87 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
88 <img src="${h.url('/images/icons/file.png')}" alt="${_('Files')}" />
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
89 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
90 <span>${_('Files')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
91 </a>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
92 </li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
93 </ul>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
94 </td>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
95 <td>
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
96 ## TYPE OF REPO
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
97 <div style="white-space: nowrap">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
98 %if repo['dbrepo']['repo_type'] =='hg':
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
99 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
100 %elif repo['dbrepo']['repo_type'] =='git':
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
101 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
102 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
103
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
104 ##PRIVATE/PUBLIC
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
105 %if repo['dbrepo']['private']:
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
106 <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url('/images/icons/lock.png')}"/>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
107 %else:
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
108 <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
109 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
110
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
111 ##NAME
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
112 ${h.link_to(repo['name'],
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
113 h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
114 %if repo['dbrepo_fork']:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
115 <a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
116 <img class="icon" alt="${_('fork')}"
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
117 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}"
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
118 src="${h.url('/images/icons/arrow_divide.png')}"/></a>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
119 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
120 </div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
121 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
122 ##DESCRIPTION
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
123 <td><span class="tooltip" title="${h.tooltip(repo['description'])}">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
124 ${h.truncate(repo['description'],60)}</span>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
125 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
126 ##LAST CHANGE
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
127 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
128 <span class="tooltip" title="${repo['last_change']}">
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
129 ${h.age(repo['last_change'])}</span>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
130 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
131 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
132 %if repo['rev']>=0:
1482
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
133 <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>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
134 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
135 ${_('No changesets yet')}
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
136 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
137 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
138 <td title="${repo['contact']}">${h.person(repo['contact'])}</td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
139 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
140 %if c.rhodecode_user.username != 'default':
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
141 <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>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
142 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
143 <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'])}"></a>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
144 %endif:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
145 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
146 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
147 %if c.rhodecode_user.username != 'default':
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
148 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'],api_key=c.rhodecode_user.api_key)}"></a>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
149 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
150 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'])}"></a>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
151 %endif:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
152 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
153 </tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
154 %endfor
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
155 </tbody>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
156 </table>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
157 </div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
158 </div>
1653
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
159 <script>
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
160 var nodes = YUQ('div.table tr td a.repo_name');
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
161 var target = 'q_filter';
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
162 var func = function(node){
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
163 return node.parentNode.parentNode.parentNode;
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
164 }
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
165 q_filter(target,nodes,func);
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
166 </script>