Use avatars instead of fontawesome in repo list.

This commit is contained in:
Jimmy Zelinskie 2015-01-12 12:08:08 -05:00
parent 2ed56f04c9
commit 5f2bff43e7
2 changed files with 2 additions and 3 deletions

View file

@ -124,7 +124,6 @@ function RepoListCtrl($scope, $sanitize, Restangular, UserService, ApiService) {
if ($scope.namespaces.length == 0 || $scope.user.anonymous) {
return;
}
console.log('load repos called');
for (var i = 0; i < $scope.namespaces.length; i++) {
var namespace = $scope.namespaces[i];

View file

@ -94,11 +94,11 @@
<div class="resource-view" resource="namespace">
<div class="repo-listing">
<div class="repo-list-title" ng-show="user.username == namespace.username">
<i class="fa fa-user"></i>
<span class="avatar" size="24" hash="namespace.avatar"></span>
{{ namespace.username }}
</div>
<div class="repo-list-title" ng-show="user.username != namespace.username">
<i class="fa fa-sitemap"></i>
<span class="avatar" size="24" hash="namespace.avatar"></span>
<a href="/organization/{{ namespace.name }}">{{ namespace.name }}</a>
</div>
<div ng-show="namespace.repositories.value.length > 0">