Use a badge to prompt GitHub users to set a password.
This commit is contained in:
parent
16ee147eae
commit
33e691cca6
1 changed files with 7 additions and 1 deletions
|
@ -85,10 +85,16 @@ mixpanel.init(isProd ? "50ff2b2569faa3a51c8f5724922ffb7e" : "38014a0f27e7bdc3ff8
|
|||
<a href="javascript:void(0)" class="dropdown-toggle user-dropdown" data-toggle="dropdown">
|
||||
<img src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=32&d=identicon" />
|
||||
{{ user.username }}
|
||||
<span class="badge" ng-show="user.askForPassword">1</span>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#/user">Account Settings</a></li>
|
||||
<li>
|
||||
<a href="#/user">
|
||||
Account Settings
|
||||
<span class="badge" ng-show="user.askForPassword">1</span>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="/signout">Sign out</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
Reference in a new issue