fix empty repo listings & indentation

This commit is contained in:
Jimmy Zelinskie 2015-01-09 15:55:44 -05:00
parent 897cfbefd6
commit 5ed0e162a7

View file

@ -1,3 +1,12 @@
<div ng-if="user.anonymous" class="container signin-container">
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="empty-primary-msg">You must be signed in to view repositories. </div>
<div class="user-setup" redirect-url="redirectUrl"></div>
</div>
</div>
</div>
</div>
<div class="row" ng-if="!user.anonymous">
<div class="repo-list-sidebar col-lg-3 col-lg-push-9 col-md-3 col-md-push-9 col-sm-4 col-sm-push-8 col-xs-12">
<div class="button-bar-right">
@ -113,24 +122,19 @@
</div>
</div>
</div>
<div ng-show="namespace.value.length == 0">
</div>
</div>
<div ng-show="namespace.repositories.value.length == 0">
<div class="empty-primary-msg">This namespace doesn't have any viewable repositories.</div>
<div class="empty-secondary-msg">You may be seeing this because you do not have permission to view any repositories. If you have permission, try <a href="/new">creating a new repository</a>.</div>
</div>
<!-- User/Org has no repositories -->
<div ng-show="namespace.repositories.value.length == 0" style="padding:20px;">
<div class="alert alert-info">
<h4 ng-show="namespace == user.username">You don't have any repositories yet!</h4>
<h4 ng-show="namespace != user.username">This organization doesn't have any repositories, or you have not been provided access.</h4>
<a href="http://docs.quay.io/solution/getting-started.html"><b>Click here</b> to learn how to create a repository</a>
</div>
</div>
<div class="empty-secondary-msg">Either no repositories exist yet or you may not have permission to view any. If you have permission, try <a href="/new">creating a new repository</a>.</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<hr>
</div>
</div>
</div>
</div>
</div>