comparison pylons_app/templates/admin/users/user_edit_my_account.html @ 446:a0a93357f954

started my page rewrite
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 03 Sep 2010 00:46:07 +0200
parents 0659a891d975
children 70c2750531d3
comparison
equal deleted inserted replaced
445:946d8a680a1d 446:a0a93357f954
12 <%def name="page_nav()"> 12 <%def name="page_nav()">
13 ${self.menu('admin')} 13 ${self.menu('admin')}
14 </%def> 14 </%def>
15 15
16 <%def name="main()"> 16 <%def name="main()">
17 <div class="box"> 17 <div class="box box-left">
18 <!-- box / title --> 18 <!-- box / title -->
19 <div class="title"> 19 <div class="title">
20 ${self.breadcrumbs()} 20 ${self.breadcrumbs()}
21 </div> 21 </div>
22 <!-- end box / title --> 22 <!-- end box / title -->
74 </div> 74 </div>
75 </div> 75 </div>
76 </div> 76 </div>
77 ${h.end_form()} 77 ${h.end_form()}
78 </div> 78 </div>
79
80 <div class="box box-right">
81 <!-- box / title -->
82 <div class="title">
83 <h5>${_('My repositories')}</h5>
84 </div>
85 <!-- end box / title -->
86 <div class="table">
87 <table>
88 <tbody>
89 %for repo in c.user_repos:
90 <tr>
91 <td>
92 %if repo.dbrepo.private:
93 <img alt="${_('private')}" src="/images/icons/lock.png"/>
94 %else:
95 <img alt="${_('public')}" src="/images/icons/lock_open.png"/>
96 %endif
97
98 ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))}</td>
99 ##<td>${_('created')} ${repo.dbrepo.}</td>
100 <td>${_('last changed')} ${h.age(repo.last_change)}</td>
101 <td>${h.link_to(_('[edit]'),h.url('edit_repo',repo_name=repo.name))}</td>
102 </tr>
103 %endfor
104 </tbody>
105 </table>
106 </div>
107
108 </div>
79 </%def> 109 </%def>