##// END OF EJS Templates
ui: fix profiles for users
marcink -
r3687:9ccee791 new-ui
parent child Browse files
Show More
@@ -8,12 +8,13 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:
@@ -21,36 +22,45 b''
21 %endif
22 %endif
22 </div>
23 </div>
23 </div>
24 </div>
24 <div class="fieldset">
25 </div>
25 <div class="left-label">
26 <div class="field">
27 <div class="label">
26 ${_('Username')}:
28 ${_('Username')}:
27 </div>
29 </div>
28 <div class="right-content">
30 <div class="input">
31 <div class="text-as-placeholder">
29 ${c.user.username}
32 ${c.user.username}
30 </div>
33 </div>
31 </div>
34 </div>
32 <div class="fieldset">
35 </div>
33 <div class="left-label">
36 <div class="field">
37 <div class="label">
34 ${_('First name')}:
38 ${_('First name')}:
35 </div>
39 </div>
36 <div class="right-content">
40 <div class="input">
41 <div class="text-as-placeholder">
37 ${c.user.first_name}
42 ${c.user.first_name}
38 </div>
43 </div>
39 </div>
44 </div>
40 <div class="fieldset">
45 </div>
41 <div class="left-label">
46 <div class="field">
47 <div class="label">
42 ${_('Last name')}:
48 ${_('Last name')}:
43 </div>
49 </div>
44 <div class="right-content">
50 <div class="input">
51 <div class="text-as-placeholder">
45 ${c.user.last_name}
52 ${c.user.last_name}
46 </div>
53 </div>
47 </div>
54 </div>
48 <div class="fieldset">
55 </div>
49 <div class="left-label">
56 <div class="field">
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