Link to the user pages now that they exist

This commit is contained in:
Joseph Schorr 2015-04-03 14:58:13 -04:00
parent 4cb7921c3a
commit f46d9c88cf
3 changed files with 5 additions and 4 deletions

View file

@ -23,7 +23,7 @@
<!-- User -->
<span ng-if="!entity.is_robot">
<span class="avatar" size="avatarSize || 16" data="entity.avatar"></span>
<span class="entity-name">{{ entity.name }}</span>
<a class="entity-name" href="/user/{{ entity.name }}">{{ entity.name }}</a>
</span>
<!-- Robot -->

View file

@ -9,7 +9,8 @@
</div>
<div ng-if="!starred" class="repo-list-title">
<span class="avatar" size="24" data="namespace.avatar"></span>
<span ng-if="!isOrganization(namespace.name)">{{ namespace.name }}</span>
<a ng-if="!isOrganization(namespace.name)"
href="/user/{{ namespace.name }}">{{ namespace.name }}</a>
<a ng-if="isOrganization(namespace.name)"
href="/organization/{{ namespace.name }}">{{ namespace.name }}</a>
</div>

View file

@ -33,10 +33,10 @@
<h4>Users and Organizations</h4>
<ul class="namespaces-list">
<li ng-repeat="namespace in namespaces">
<span ng-if="!isOrganization(namespace.name)">
<a href="/user/{{ namespace.name }}" ng-if="!isOrganization(namespace.name)">
<span class="avatar" size="30" data="namespace.avatar"></span>
{{ namespace.name }}
</span>
</a>
<a href="/organization/{{ namespace.name }}" ng-if="isOrganization(namespace.name)">
<span class="avatar" size="30" data="namespace.avatar"></span>
{{ namespace.name }}