Mercurial > kallithea
annotate rhodecode/templates/admin/users/user_edit_my_account_repos.html @ 3151:58a4004224a2 beta
fixes issue #710 File view stripping empty lines from begininng and end of the file. Fixed by setting default Pygment lexer option to not do that
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 05 Jan 2013 03:30:24 +0100 |
parents | d0c2299d08d4 |
children | 0226b6d6b2b5 |
rev | line source |
---|---|
2624
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 <div id='repos_list_wrap' class="yui-skin-sam"> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <table id="repos_list"> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 <thead> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <tr> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 <th></th> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 <th class="left">${_('Name')}</th> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 <th class="left">${_('Revision')}</th> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 <th class="left">${_('Action')}</th> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 <th class="left">${_('Action')}</th> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 </thead> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 <tbody> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 <%namespace name="dt" file="/data_table/_dt_elements.html"/> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 %if c.user_repos: |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 %for repo in c.user_repos: |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <tr> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 ##QUICK MENU |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 <td class="quick_repo_menu"> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 ${dt.quick_menu(repo['name'])} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 </td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 ##REPO NAME AND ICONS |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 <td class="reponame"> |
2941
d0c2299d08d4
my account page should use new dt.repo_name format
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
22 ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],h.AttributeDict(repo['dbrepo_fork']))} |
2624
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 </td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 ##LAST REVISION |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 <td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 </td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 <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> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 <td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 ${h.end_form()} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
33 </td> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 </tr> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
35 %endfor |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 %else: |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 <div style="padding:5px 0px 10px 0px;"> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 ${_('No repositories yet')} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")} |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
41 %endif |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 </div> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
43 %endif |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
44 </tbody> |
19daa8d761dc
Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
45 </table> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2624
diff
changeset
|
46 </div> |