##// END OF EJS Templates
ui: fix profiles for users
marcink -
r3687:9ccee791 new-ui
parent child Browse files
Show More
@@ -8,49 +8,59 b''
8 %endif
8 %endif
9 </div>
9 </div>
10
10
11 <div class="panel-body user-profile-content">
11 <div class="panel-body user-profile-content fields">
12 <div class="fieldset">
12 <div class="field">
13 <div class="left-label">
13 <div class="label">
14 ${_('Photo')}:
14 ${_('Photo')}:
15 </div>
15 </div>
16 <div class="right-content">
16 <div class="input">
17 <div class="text-as-placeholder">
17 %if c.visual.use_gravatar:
18 %if c.visual.use_gravatar:
18 ${base.gravatar(c.user.email, 100)}
19 ${base.gravatar(c.user.email, 100)}
19 %else:
20 %else:
20 ${base.gravatar(c.user.email, 100)}
21 ${base.gravatar(c.user.email, 100)}
21 %endif
22 %endif
23 </div>
22 </div>
24 </div>
23 </div>
25 </div>
24 <div class="fieldset">
26 <div class="field">
25 <div class="left-label">
27 <div class="label">
26 ${_('Username')}:
28 ${_('Username')}:
27 </div>
29 </div>
28 <div class="right-content">
30 <div class="input">
29 ${c.user.username}
31 <div class="text-as-placeholder">
32 ${c.user.username}
33 </div>
30 </div>
34 </div>
31 </div>
35 </div>
32 <div class="fieldset">
36 <div class="field">
33 <div class="left-label">
37 <div class="label">
34 ${_('First name')}:
38 ${_('First name')}:
35 </div>
39 </div>
36 <div class="right-content">
40 <div class="input">
37 ${c.user.first_name}
41 <div class="text-as-placeholder">
42 ${c.user.first_name}
43 </div>
38 </div>
44 </div>
39 </div>
45 </div>
40 <div class="fieldset">
46 <div class="field">
41 <div class="left-label">
47 <div class="label">
42 ${_('Last name')}:
48 ${_('Last name')}:
43 </div>
49 </div>
44 <div class="right-content">
50 <div class="input">
45 ${c.user.last_name}
51 <div class="text-as-placeholder">
52 ${c.user.last_name}
53 </div>
46 </div>
54 </div>
47 </div>
55 </div>
48 <div class="fieldset">
56 <div class="field">
49 <div class="left-label">
57 <div class="label">
50 ${_('Email')}:
58 ${_('Email')}:
51 </div>
59 </div>
52 <div class="right-content">
60 <div class="input">
53 ${c.user.email or _('Missing email, please update your user email address.')}
61 <div class="text-as-placeholder">
62 ${(c.user.email or _('Missing email, please update your user email address.'))}
63 </div>
54 </div>
64 </div>
55 </div>
65 </div>
56 </div>
66 </div>
General Comments 0
You need to be logged in to leave comments. Login now