Merge pull request #356 from coreos-inc/jsfixes
Small JS and HTML fixes
This commit is contained in:
commit
1a0dc0d604
3 changed files with 10 additions and 9 deletions
|
@ -70,17 +70,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row testimonial" quay-require="['BILLING']">
|
||||
<div class="tour-action" quay-require="['BILLING']">
|
||||
<a href="/plans?trial-plan=personal">
|
||||
<button class="btn btn-success">
|
||||
Start free trial
|
||||
</button>
|
||||
</a>
|
||||
<div class="row testimonial" quay-require="['BILLING']">
|
||||
<div class="tour-action" quay-require="['BILLING']">
|
||||
<a href="/plans?trial-plan=personal">
|
||||
<button class="btn btn-success">
|
||||
Start free trial
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Organizations -->
|
||||
<div class="product-tour" ng-if="kind == 'organizations'">
|
||||
<div class="tour-section row tour-header">
|
||||
|
|
|
@ -37,7 +37,7 @@ angular.module('quay').directive('planManager', function () {
|
|||
return !$scope.isPlanVisible(superseded, subscribedPlan);
|
||||
}
|
||||
|
||||
return plan.stripeId === subscribedPlan.stripeId;
|
||||
return subscribedPlan && plan.stripeId === subscribedPlan.stripeId;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
var loadRepositories = function() {
|
||||
var options = {
|
||||
'namespace': orgname,
|
||||
'public': true
|
||||
};
|
||||
|
||||
$scope.repositoriesResource = ApiService.listReposAsResource().withOptions(options).get(function(resp) {
|
||||
|
|
Reference in a new issue