Use avatars instead of fontawesome in repo list.
This commit is contained in:
parent
2ed56f04c9
commit
5f2bff43e7
2 changed files with 2 additions and 3 deletions
|
@ -124,7 +124,6 @@ function RepoListCtrl($scope, $sanitize, Restangular, UserService, ApiService) {
|
||||||
if ($scope.namespaces.length == 0 || $scope.user.anonymous) {
|
if ($scope.namespaces.length == 0 || $scope.user.anonymous) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('load repos called');
|
|
||||||
|
|
||||||
for (var i = 0; i < $scope.namespaces.length; i++) {
|
for (var i = 0; i < $scope.namespaces.length; i++) {
|
||||||
var namespace = $scope.namespaces[i];
|
var namespace = $scope.namespaces[i];
|
||||||
|
|
|
@ -94,11 +94,11 @@
|
||||||
<div class="resource-view" resource="namespace">
|
<div class="resource-view" resource="namespace">
|
||||||
<div class="repo-listing">
|
<div class="repo-listing">
|
||||||
<div class="repo-list-title" ng-show="user.username == namespace.username">
|
<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 }}
|
{{ namespace.username }}
|
||||||
</div>
|
</div>
|
||||||
<div class="repo-list-title" ng-show="user.username != namespace.username">
|
<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>
|
<a href="/organization/{{ namespace.name }}">{{ namespace.name }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="namespace.repositories.value.length > 0">
|
<div ng-show="namespace.repositories.value.length > 0">
|
||||||
|
|
Reference in a new issue