Mercurial > kallithea
annotate pylons_app/templates/admin/users/user_edit_my_account.html @ 510:9bedaa073c23
fixed lockdecrator to return executed function data
removed print
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 28 Sep 2010 20:07:55 +0000 |
parents | c3236d7febad |
children | 87d80c84df09 |
rev | line source |
---|---|
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
403
0659a891d975
fixed title on my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
371
diff
changeset
|
5 ${c.hg_app_user.username} ${_('account')} |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 ${_('My Account')} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 <%def name="page_nav()"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 ${self.menu('admin')} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="main()"> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
17 |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
18 <div class="box box-left"> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <!-- box / title --> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 <div class="title"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 ${self.breadcrumbs()} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 </div> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 <!-- end box / title --> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
24 <div class="ui-tabs-panel ui-widget-content ui-corner-bottom"> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 ${h.form(url('admin_settings_my_account_update'),method='put')} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
26 <div class="form"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
27 <div class="fields"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
28 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
29 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
30 <label for="username">${_('Username')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
31 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
32 <div class="input"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
33 ${h.text('username')} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
34 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
35 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
36 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
37 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
38 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
39 <label for="new_password">${_('New password')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
40 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
41 <div class="input"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
42 ${h.password('new_password')} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
43 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
44 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
45 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
46 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
47 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
48 <label for="name">${_('Name')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
49 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
50 <div class="input"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
51 ${h.text('name')} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
52 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
53 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
54 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
55 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
56 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
57 <label for="lastname">${_('Lastname')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
58 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
59 <div class="input"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
60 ${h.text('lastname')} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
61 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
62 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
63 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
64 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
65 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
66 <label for="email">${_('Email')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
67 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
68 <div class="input"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
69 ${h.text('email')} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
70 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
71 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
72 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
73 <div class="buttons"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
74 ${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
75 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
76 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
77 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
78 ${h.end_form()} |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
79 </div> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
80 </div> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
81 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
82 <div class="box box-right"> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
83 <!-- box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
84 <div class="title"> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
85 <h5>${_('My repositories')}</h5> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
86 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
87 <!-- end box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
88 <div class="table"> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
89 <table> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
90 <tbody> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
91 %for repo in c.user_repos: |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
92 <tr> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
93 <td> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
94 %if repo.dbrepo.private: |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
95 <img class="icon" alt="${_('private')}" src="/images/icons/lock.png"/> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
96 %else: |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
97 <img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
98 %endif |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
99 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
100 ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))}</td> |
450
c3236d7febad
fixed, empty cs bug.
Marcin Kuzminski <marcin@python-works.com>
parents:
447
diff
changeset
|
101 <td>${_('revision')}: ${h.get_changeset_safe(repo,'tip').revision}</td> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
102 <td>${_('last changed')}: ${h.age(repo.last_change)}</td> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
103 <td><img class="icon" alt="${_('private')}" src="/images/icons/application_form_edit.png"/> ${h.link_to(_('edit'),h.url('edit_repo',repo_name=repo.name))}</td> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
104 </tr> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
105 %endfor |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
106 </tbody> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
107 </table> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
108 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
109 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
110 </div> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
111 </%def> |