annotate rhodecode/templates/bookmarks/bookmarks_data.html @ 3665:690a955ba785 beta

use placeholders in qfilter, not the ugly JS logic
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 04 Apr 2013 13:18:24 +0200
parents c20adbaf16af
children 93de03499097
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
1 %if c.repo_bookmarks:
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1782
diff changeset
2 <div id="table_wrap" class="yui-skin-sam">
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
3 <table id="bookmarks_data">
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
4 <thead>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
5 <tr>
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
6 <th class="left">${_('Name')}</th>
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
7 <th class="left">${_('Date')}</th>
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
8 <th class="left">${_('Author')}</th>
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
9 <th class="left">${_('Revision')}</th>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
10 </tr>
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
11 </thead>
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
12 %for cnt,book in enumerate(c.repo_bookmarks.items()):
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
13 <tr class="parity${cnt%2}">
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 <td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 <span class="logbooks">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 <span class="bookbook">${h.link_to(book[0],
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
17 h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 </span>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
19 </td>
2427
f467c75544af Added h.tooltip to all places that tooltip_title is used.
Marcin Kuzminski <marcin@python-works.com>
parents: 2416
diff changeset
20 <td><span class="tooltip" title="${h.tooltip(h.age(book[1].date))}">${h.fmt_date(book[1].date)}</span></td>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
21 <td title="${book[1].author}">${h.person(book[1].author)}</td>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
22 <td>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
23 <div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
24 <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id)}">r${book[1].revision}:${h.short_id(book[1].raw_id)}</a></pre>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
25 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1782
diff changeset
26 </td>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
27 </tr>
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
28 %endfor
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 </table>
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
30 </div>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 %else:
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2427
diff changeset
32 ${_('There are no bookmarks yet')}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1782
diff changeset
33 %endif