The button for make private should match the button for make public. Tweak the copy about who may access a repository in either state.

This commit is contained in:
yackob03 2013-09-30 00:19:43 -04:00
parent 4382ebfd20
commit 4d6c5b4315

View file

@ -61,7 +61,7 @@
<div class="repo-access-state" ng-show="!repo.is_public">
<div class="state-icon"><i class="icon-lock"></i></div>
This repository is currently <b>private</b>. Only users on the above access list may interact with it.
This repository is currently <b>private</b>. Only users on the above access list may view and interact with it.
<div class="change-access">
<button class="btn btn-danger" ng-click="askChangeAccess('public')">Make Public</button>
@ -71,10 +71,10 @@
<div class="repo-access-state" ng-show="repo.is_public">
<div class="state-icon"><i class="icon-unlock-alt"></i></div>
This repository is currently <b>public</b> and visible to all users.
This repository is currently <b>public</b> and is visible to all users, and may be pulled by all users.
<div class="change-access">
<button class="btn btn-success" ng-click="askChangeAccess('private')">Make Private</button>
<button class="btn btn-danger" ng-click="askChangeAccess('private')">Make Private</button>
</div>
</div>
</div>