Show More
@@ -1,46 +1,46 b'' | |||
|
1 | 1 | <%inherit file="/base/base.mako"/> |
|
2 | 2 | |
|
3 | 3 | <%def name="title()"> |
|
4 | ${c.user.username} | |
|
4 | ${_('User')}: ${c.user.username} | |
|
5 | 5 | %if c.rhodecode_name: |
|
6 | 6 | · ${h.branding(c.rhodecode_name)} |
|
7 | 7 | %endif |
|
8 | 8 | </%def> |
|
9 | 9 | |
|
10 | 10 | <%def name="breadcrumbs_links()"> |
|
11 | ${c.user.username} | |
|
11 | ${_('User')}: ${c.user.username} | |
|
12 | 12 | </%def> |
|
13 | 13 | |
|
14 | 14 | <%def name="menu_bar_nav()"> |
|
15 | 15 | ${self.menu_items(active='my_account')} |
|
16 | 16 | </%def> |
|
17 | 17 | |
|
18 | 18 | <%def name="main()"> |
|
19 | 19 | <div class="box"> |
|
20 | 20 | <div class="title"> |
|
21 | 21 | ${self.breadcrumbs()} |
|
22 | 22 | </div> |
|
23 | 23 | |
|
24 | 24 | <div class="sidebar-col-wrapper scw-small"> |
|
25 | 25 | ##main |
|
26 | 26 | <div class="sidebar"> |
|
27 | 27 | <ul class="nav nav-pills nav-stacked"> |
|
28 | 28 | <li class="${'active' if c.active=='user_profile' else ''}"> |
|
29 | 29 | <a href="${h.route_path('user_profile', username=c.user.username)}">${_('Profile')}</a></li> |
|
30 | 30 | ## These placeholders are here only for styling purposes. For every new item added to the list, you should remove one placeholder |
|
31 | 31 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
32 | 32 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
33 | 33 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
34 | 34 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
35 | 35 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
36 | 36 | <li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li> |
|
37 | 37 | </ul> |
|
38 | 38 | </div> |
|
39 | 39 | |
|
40 | 40 | <div class="main-content-full-width"> |
|
41 | 41 | <%include file="/users/${c.active}.mako"/> |
|
42 | 42 | </div> |
|
43 | 43 | </div> |
|
44 | 44 | </div> |
|
45 | 45 | |
|
46 | 46 | </%def> |
@@ -1,58 +1,58 b'' | |||
|
1 | 1 | <%namespace name="base" file="/base/base.mako"/> |
|
2 | 2 | |
|
3 | 3 | <div class="panel panel-default user-profile"> |
|
4 | 4 | <div class="panel-heading"> |
|
5 | <h3 class="panel-title">${_('Profile')}</h3> | |
|
5 | <h3 class="panel-title">${_('User Profile')}</h3> | |
|
6 | 6 | %if h.HasPermissionAny('hg.admin')(): |
|
7 | 7 | ${h.link_to(_('Edit'), h.route_path('user_edit', user_id=c.user.user_id), class_='panel-edit')} |
|
8 | 8 | %endif |
|
9 | 9 | </div> |
|
10 | 10 | |
|
11 | 11 | <div class="panel-body user-profile-content"> |
|
12 | 12 | <div class="fieldset"> |
|
13 | 13 | <div class="left-label"> |
|
14 | 14 | ${_('Photo')}: |
|
15 | 15 | </div> |
|
16 | 16 | <div class="right-content"> |
|
17 | 17 | %if c.visual.use_gravatar: |
|
18 | 18 | ${base.gravatar(c.user.email, 100)} |
|
19 | 19 | %else: |
|
20 | 20 | ${base.gravatar(c.user.email, 20)} |
|
21 | 21 | ${_('Avatars are disabled')} |
|
22 | 22 | %endif |
|
23 | 23 | </div> |
|
24 | 24 | </div> |
|
25 | 25 | <div class="fieldset"> |
|
26 | 26 | <div class="left-label"> |
|
27 | 27 | ${_('Username')}: |
|
28 | 28 | </div> |
|
29 | 29 | <div class="right-content"> |
|
30 | 30 | ${c.user.username} |
|
31 | 31 | </div> |
|
32 | 32 | </div> |
|
33 | 33 | <div class="fieldset"> |
|
34 | 34 | <div class="left-label"> |
|
35 | 35 | ${_('First name')}: |
|
36 | 36 | </div> |
|
37 | 37 | <div class="right-content"> |
|
38 | 38 | ${c.user.first_name} |
|
39 | 39 | </div> |
|
40 | 40 | </div> |
|
41 | 41 | <div class="fieldset"> |
|
42 | 42 | <div class="left-label"> |
|
43 | 43 | ${_('Last name')}: |
|
44 | 44 | </div> |
|
45 | 45 | <div class="right-content"> |
|
46 | 46 | ${c.user.last_name} |
|
47 | 47 | </div> |
|
48 | 48 | </div> |
|
49 | 49 | <div class="fieldset"> |
|
50 | 50 | <div class="left-label"> |
|
51 | 51 | ${_('Email')}: |
|
52 | 52 | </div> |
|
53 | 53 | <div class="right-content"> |
|
54 | 54 | ${c.user.email or _('Missing email, please update your user email address.')} |
|
55 | 55 | </div> |
|
56 | 56 | </div> |
|
57 | 57 | </div> |
|
58 | 58 | </div> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now