Update repo list and landing page to support choosing the list of repos to see (org or personal)

This commit is contained in:
Joseph Schorr 2013-11-06 21:52:31 -05:00
parent ce91190a7e
commit 4b460be4dd
4 changed files with 71 additions and 34 deletions

View file

@ -1,5 +1,8 @@
<span class="namespace-selector-dropdown">
<span ng-show="user.organizations.length == 0">{{user.username}}</span>
<span ng-show="user.organizations.length == 0">
<img src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=24&d=identicon" />
<span class="namespace-name">{{user.username}}</span>
</span>
<div class="btn-group" ng-show="user.organizations.length > 0">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">