annotate rhodecode/templates/index_base.html @ 1738:1a2f10b368a9 beta

added forking into quick menu on main page
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 27 Nov 2011 03:20:28 +0200
parents 61eda8bf70d0
children c12ba6573192
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">
1737
61eda8bf70d0 new files views
Marcin Kuzminski <marcin@python-works.com>
parents: 1667
diff changeset
69 <li style="border-top:1px solid #003367;margin-left:18px;padding-left:-99px"></li>
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
70 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
71 <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
72 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
73 <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
74 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
75 <span>${_('Summary')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
76 </a>
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 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
79 <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
80 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
81 <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
82 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
83 <span>${_('Changelog')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
84 </a>
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 <li>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
87 <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
88 <span class="icon">
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
89 <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
90 </span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
91 <span>${_('Files')}</span>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
92 </a>
1738
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
93 </li>
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
94 <li>
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
95 <a title="${_('Fork')}" href="${h.url('repo_fork_home',repo_name=repo['name'])}">
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
96 <span class="icon">
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
97 <img src="${h.url('/images/icons/arrow_divide.png')}" alt="${_('Fork')}" />
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
98 </span>
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
99 <span>${_('Fork')}</span>
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
100 </a>
1a2f10b368a9 added forking into quick menu on main page
Marcin Kuzminski <marcin@python-works.com>
parents: 1737
diff changeset
101 </li>
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
102 </ul>
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
103 </td>
1403
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
104 <td>
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
105 ## 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
106 <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
107 %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
108 <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
109 %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
110 <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
111 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
112
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
113 ##PRIVATE/PUBLIC
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']['private']:
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
115 <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
116 %else:
1423
241a5167c4e0 Added quick menu for each repo in main page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1403
diff changeset
117 <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
118 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
119
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
120 ##NAME
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
121 ${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
122 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
123 %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
124 <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
125 <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
126 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
127 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
128 %endif
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
129 </div>
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 ##DESCRIPTION
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
132 <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
133 ${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
134 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
135 ##LAST CHANGE
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
136 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
137 <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
138 ${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
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 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
141 %if repo['rev']>=0:
1482
a39c0e5fca89 removed obsolete sort code
Marcin Kuzminski <marcin@python-works.com>
parents: 1475
diff changeset
142 <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
143 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
144 ${_('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
145 %endif
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 <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
148 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
149 %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
150 <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
151 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
152 <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
153 %endif:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
154 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
155 <td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
156 %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
157 <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
158 %else:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
159 <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
160 %endif:
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
161 </td>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
162 </tr>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
163 %endfor
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
164 </tbody>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
165 </table>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
166 </div>
fc286aed92fe fixes #209, repos groups and index page now share same common page.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
167 </div>
1653
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
168 <script>
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
169 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
170 var target = 'q_filter';
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
171 var func = function(node){
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
172 return node.parentNode.parentNode.parentNode;
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
173 }
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
174 q_filter(target,nodes,func);
b1e1dffd595c one generic qfilter function.
Marcin Kuzminski <marcin@python-works.com>
parents: 1624
diff changeset
175 </script>