Mercurial > kallithea
annotate rhodecode/templates/bookmarks/bookmarks_data.html @ 3798:574825da0d4e beta
added compare option into bookmarks
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 30 Apr 2013 02:06:56 +0200 |
parents | 93de03499097 |
children | ffd45b185016 |
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 | 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> |
3798
574825da0d4e
added compare option into bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents:
3707
diff
changeset
|
10 <th class="left">${_('Compare')}</th> |
3197 | 11 </tr> |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
12 </thead> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
13 %for cnt,book in enumerate(c.repo_bookmarks.items()): |
3197 | 14 <tr class="parity${cnt%2}"> |
1748
a3ee2611e6e8
implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <td> |
a3ee2611e6e8
implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <span class="logbooks"> |
3707
93de03499097
shortlog: show all refs (bookmarks,tags,branches) in one dedicated column
Marcin Kuzminski <marcin@python-works.com>
parents:
3198
diff
changeset
|
17 <span class="booktag">${h.link_to(book[0], |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
18 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
|
19 </span> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
20 </td> |
2427
f467c75544af
Added h.tooltip to all places that tooltip_title is used.
Marcin Kuzminski <marcin@python-works.com>
parents:
2416
diff
changeset
|
21 <td><span class="tooltip" title="${h.tooltip(h.age(book[1].date))}">${h.fmt_date(book[1].date)}</span></td> |
3197 | 22 <td title="${book[1].author}">${h.person(book[1].author)}</td> |
23 <td> | |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
24 <div> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
25 <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
|
26 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
27 </td> |
3798
574825da0d4e
added compare option into bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents:
3707
diff
changeset
|
28 <td> |
574825da0d4e
added compare option into bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents:
3707
diff
changeset
|
29 <input class="branch-compare" type="radio" name="compare_org" value="${book[0]}"/> |
574825da0d4e
added compare option into bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents:
3707
diff
changeset
|
30 <input class="branch-compare" type="radio" name="compare_other" value="${book[0]}"/> |
574825da0d4e
added compare option into bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents:
3707
diff
changeset
|
31 </td> |
3197 | 32 </tr> |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
33 %endfor |
1748
a3ee2611e6e8
implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 </table> |
1782
eaf09acf6872
added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents:
1770
diff
changeset
|
35 </div> |
1748
a3ee2611e6e8
implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 %else: |
3197 | 37 ${_('There are no bookmarks yet')} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
38 %endif |