Show More
@@ -16,25 +16,25 | |||||
16 | <div id="header"> |
|
16 | <div id="header"> | |
17 | <!-- user --> |
|
17 | <!-- user --> | |
18 | <ul id="logged-user"> |
|
18 | <ul id="logged-user"> | |
19 | <li class="first"> |
|
19 | %if c.rhodecode_user.username == 'default': | |
20 |
< |
|
20 | <li class="first"> | |
21 | <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" /> |
|
21 | <div class="account"> | |
22 | </div> |
|
22 | ## ${h.link_to('%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname),h.url('#'))}<br/> | |
23 | %if c.rhodecode_user.username == 'default': |
|
23 | ## ${h.link_to(c.rhodecode_user.username,h.url('#'))} | |
24 |
<div |
|
24 | </div> | |
25 | ${h.link_to('%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname),h.url('#'))}<br/> |
|
25 | </li> | |
26 | ${h.link_to(c.rhodecode_user.username,h.url('#'))} |
|
26 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> | |
27 | </div> |
|
|||
28 | </li> |
|
|||
29 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> |
|
|||
30 | %else: |
|
27 | %else: | |
31 |
|
28 | <li class="first"> | ||
32 |
<div class=" |
|
29 | <div class="gravatar"> | |
33 | ${h.link_to('%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname),h.url('admin_settings_my_account'))}<br/> |
|
30 | <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" /> | |
34 | ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'))} |
|
31 | </div> | |
35 |
< |
|
32 | <div class="account"> | |
36 | </li> |
|
33 | ${h.link_to('%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname),h.url('admin_settings_my_account'))}<br/> | |
37 | <li class="last highlight">${h.link_to(u'Logout',h.url('logout_home'))}</li> |
|
34 | ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'))} | |
|
35 | </div> | |||
|
36 | </li> | |||
|
37 | <li class="last highlight">${h.link_to(u'Logout',h.url('logout_home'))}</li> | |||
38 | %endif |
|
38 | %endif | |
39 | </ul> |
|
39 | </ul> | |
40 | <!-- end user --> |
|
40 | <!-- end user --> |
General Comments 0
You need to be logged in to leave comments.
Login now