Show More
@@ -1,57 +1,67 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 | 5 | <h3 class="panel-title">${_('User Profile')}</h3> |
|
6 | 6 | %if c.is_super_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 | <div class="panel-body user-profile-content"> | |
|
12 |
<div class="field |
|
|
13 |
<div class="l |
|
|
11 | <div class="panel-body user-profile-content fields"> | |
|
12 | <div class="field"> | |
|
13 | <div class="label"> | |
|
14 | 14 | ${_('Photo')}: |
|
15 | 15 | </div> |
|
16 |
<div class=" |
|
|
16 | <div class="input"> | |
|
17 | <div class="text-as-placeholder"> | |
|
17 | 18 | %if c.visual.use_gravatar: |
|
18 | 19 | ${base.gravatar(c.user.email, 100)} |
|
19 | 20 | %else: |
|
20 | 21 | ${base.gravatar(c.user.email, 100)} |
|
21 | 22 | %endif |
|
23 | </div> | |
|
22 | 24 | </div> |
|
23 | 25 | </div> |
|
24 |
<div class="field |
|
|
25 |
<div class="l |
|
|
26 | <div class="field"> | |
|
27 | <div class="label"> | |
|
26 | 28 | ${_('Username')}: |
|
27 | 29 | </div> |
|
28 |
<div class=" |
|
|
29 | ${c.user.username} | |
|
30 | <div class="input"> | |
|
31 | <div class="text-as-placeholder"> | |
|
32 | ${c.user.username} | |
|
33 | </div> | |
|
30 | 34 | </div> |
|
31 | 35 | </div> |
|
32 |
<div class="field |
|
|
33 |
<div class="l |
|
|
36 | <div class="field"> | |
|
37 | <div class="label"> | |
|
34 | 38 | ${_('First name')}: |
|
35 | 39 | </div> |
|
36 |
<div class=" |
|
|
37 | ${c.user.first_name} | |
|
40 | <div class="input"> | |
|
41 | <div class="text-as-placeholder"> | |
|
42 | ${c.user.first_name} | |
|
43 | </div> | |
|
38 | 44 | </div> |
|
39 | 45 | </div> |
|
40 |
<div class="field |
|
|
41 |
<div class="l |
|
|
46 | <div class="field"> | |
|
47 | <div class="label"> | |
|
42 | 48 | ${_('Last name')}: |
|
43 | 49 | </div> |
|
44 |
<div class=" |
|
|
45 | ${c.user.last_name} | |
|
50 | <div class="input"> | |
|
51 | <div class="text-as-placeholder"> | |
|
52 | ${c.user.last_name} | |
|
53 | </div> | |
|
46 | 54 | </div> |
|
47 | 55 | </div> |
|
48 |
<div class="field |
|
|
49 |
<div class="l |
|
|
56 | <div class="field"> | |
|
57 | <div class="label"> | |
|
50 | 58 | ${_('Email')}: |
|
51 | 59 | </div> |
|
52 |
<div class=" |
|
|
53 | ${c.user.email or _('Missing email, please update your user email address.')} | |
|
60 | <div class="input"> | |
|
61 | <div class="text-as-placeholder"> | |
|
62 | ${(c.user.email or _('Missing email, please update your user email address.'))} | |
|
63 | </div> | |
|
54 | 64 | </div> |
|
55 | 65 | </div> |
|
56 | 66 | </div> |
|
57 | 67 | </div> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now