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">
|
<div class="organization-header-element">
|
||||||
<img src="//www.gravatar.com/avatar/{{ organization.gravatar }}?s=24&d=identicon">
|
<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>
|
<a href="/organization/{{ organization.name }}">{{ organization.name }}</a>
|
||||||
</span>
|
</span>
|
||||||
<span class="organization-name" ng-show="!teamName">
|
<span class="organization-name" ng-show="!teamName && !clickable">
|
||||||
{{ organization.name }}
|
{{ organization.name }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
|
@ -1010,7 +1010,8 @@ quayApp.directive('organizationHeader', function () {
|
||||||
restrict: 'C',
|
restrict: 'C',
|
||||||
scope: {
|
scope: {
|
||||||
'organization': '=organization',
|
'organization': '=organization',
|
||||||
'teamName': '=teamName'
|
'teamName': '=teamName',
|
||||||
|
'clickable': '=clickable'
|
||||||
},
|
},
|
||||||
controller: function($scope, $element) {
|
controller: function($scope, $element) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="org-admin container" ng-show="!loading && organization">
|
<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">
|
<div class="row">
|
||||||
<!-- Side tabs -->
|
<!-- Side tabs -->
|
||||||
|
|
Reference in a new issue