Make org name clickable in the org admin view
This commit is contained in:
parent
6e4d88e4f0
commit
8cc4a5ef90
3 changed files with 5 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
<div class="organization-header-element">
|
||||
<img src="//www.gravatar.com/avatar/{{ organization.gravatar }}?s=24&d=identicon">
|
||||
<span class="organization-name" ng-show="teamName">
|
||||
<span class="organization-name" ng-show="teamName || clickable">
|
||||
<a href="/organization/{{ organization.name }}">{{ organization.name }}</a>
|
||||
</span>
|
||||
<span class="organization-name" ng-show="!teamName">
|
||||
<span class="organization-name" ng-show="!teamName && !clickable">
|
||||
{{ organization.name }}
|
||||
</span>
|
||||
|
||||
|
|
|
@ -1010,7 +1010,8 @@ quayApp.directive('organizationHeader', function () {
|
|||
restrict: 'C',
|
||||
scope: {
|
||||
'organization': '=organization',
|
||||
'teamName': '=teamName'
|
||||
'teamName': '=teamName',
|
||||
'clickable': '=clickable'
|
||||
},
|
||||
controller: function($scope, $element) {
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
|
||||
<div class="org-admin container" ng-show="!loading && organization">
|
||||
<div class="organization-header" organization="organization"></div>
|
||||
<div class="organization-header" organization="organization" clickable="true"></div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Side tabs -->
|
||||
|
|
Reference in a new issue