Mercurial > kallithea
comparison rhodecode/templates/journal/journal.html @ 2776:63e58ef80ef1
Merge beta branch into stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 02 Sep 2012 21:19:54 +0200 |
parents | dc2584ba5fbc a221706dab50 |
children | a5f0bc867edc |
comparison
equal
deleted
inserted
replaced
2301:9d097c2592d3 | 2776:63e58ef80ef1 |
---|---|
6 <%def name="breadcrumbs()"> | 6 <%def name="breadcrumbs()"> |
7 ${c.rhodecode_name} | 7 ${c.rhodecode_name} |
8 </%def> | 8 </%def> |
9 <%def name="page_nav()"> | 9 <%def name="page_nav()"> |
10 ${self.menu('home')} | 10 ${self.menu('home')} |
11 </%def> | |
12 <%def name="head_extra()"> | |
13 <link href="${h.url('journal_atom', api_key=c.rhodecode_user.api_key)}" rel="alternate" title="${_('ATOM journal feed')}" type="application/atom+xml" /> | |
14 <link href="${h.url('journal_rss', api_key=c.rhodecode_user.api_key)}" rel="alternate" title="${_('RSS journal feed')}" type="application/rss+xml" /> | |
11 </%def> | 15 </%def> |
12 <%def name="main()"> | 16 <%def name="main()"> |
13 | 17 |
14 <div class="box box-left"> | 18 <div class="box box-left"> |
15 <!-- box / title --> | 19 <!-- box / title --> |
16 <div class="title"> | 20 <div class="title"> |
17 <h5>${_('Journal')}</h5> | 21 <h5>${_('Journal')}</h5> |
18 <ul class="links"> | 22 <ul class="links"> |
19 <li> | 23 <li> |
20 <span><a id="refresh" href="${h.url('journal')}"><img class="icon" title="${_('Refresh')}" alt="${_('Refresh')}" src="${h.url('/images/icons/arrow_refresh.png')}"/> | 24 <span><a id="refresh" href="${h.url('journal')}"><img class="icon" title="${_('Refresh')}" alt="${_('Refresh')}" src="${h.url('/images/icons/arrow_refresh.png')}"/></a></span> |
21 </a></span> | 25 </li> |
26 <li> | |
27 <span><a href="${h.url('journal_rss', api_key=c.rhodecode_user.api_key)}"><img class="icon" title="${_('RSS feed')}" alt="${_('RSS feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> | |
28 </li> | |
29 <li> | |
30 <span><a href="${h.url('journal_atom', api_key=c.rhodecode_user.api_key)}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/atom.png')}"/></a></span> | |
22 </li> | 31 </li> |
23 </ul> | 32 </ul> |
24 </div> | 33 </div> |
25 <div id="journal">${c.journal_data}</div> | 34 <div id="journal">${c.journal_data}</div> |
26 </div> | 35 </div> |
51 <th class="left">${_('Revision')}</th> | 60 <th class="left">${_('Revision')}</th> |
52 <th class="left">${_('Action')}</th> | 61 <th class="left">${_('Action')}</th> |
53 <th class="left">${_('Action')}</th> | 62 <th class="left">${_('Action')}</th> |
54 </thead> | 63 </thead> |
55 <tbody> | 64 <tbody> |
56 <%namespace name="dt" file="/_data_table/_dt_elements.html"/> | 65 <%namespace name="dt" file="/data_table/_dt_elements.html"/> |
57 %for repo in c.user_repos: | 66 %for repo in c.user_repos: |
58 <tr> | 67 <tr> |
59 ##QUICK MENU | 68 ##QUICK MENU |
60 <td class="quick_repo_menu"> | 69 <td class="quick_repo_menu"> |
61 ${dt.quick_menu(repo['name'])} | 70 ${dt.quick_menu(repo['name'])} |
70 </td> | 79 </td> |
71 ## | 80 ## |
72 <td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url('/images/icons/application_form_edit.png')}"/></a></td> | 81 <td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url('/images/icons/application_form_edit.png')}"/></a></td> |
73 <td> | 82 <td> |
74 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} | 83 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} |
75 ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} | 84 ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository')+"');")} |
76 ${h.end_form()} | 85 ${h.end_form()} |
77 </td> | 86 </td> |
78 </tr> | 87 </tr> |
79 %endfor | 88 %endfor |
80 </tbody> | 89 </tbody> |
117 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> | 126 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> |
118 %elif h.is_git(entry.follows_repository): | 127 %elif h.is_git(entry.follows_repository): |
119 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> | 128 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> |
120 %endif | 129 %endif |
121 | 130 |
122 %if entry.follows_repository.private: | 131 %if entry.follows_repository.private and c.visual.show_private_icon: |
123 <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url('/images/icons/lock.png')}"/> | 132 <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url('/images/icons/lock.png')}"/> |
124 %else: | 133 %elif not entry.follows_repository.private and c.visual.show_public_icon: |
125 <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url('/images/icons/lock_open.png')}"/> | 134 <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url('/images/icons/lock_open.png')}"/> |
126 %endif | 135 %endif |
127 <span class="watched_repo"> | 136 <span class="watched_repo"> |
128 ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',repo_name=entry.follows_repository.repo_name))} | 137 ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',repo_name=entry.follows_repository.repo_name))} |
129 </span> | 138 </span> |