added error message when cannot create repo
This commit is contained in:
parent
371a64ef6a
commit
64cc684295
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
<a href="/">Back</a>
|
<a href="/">Back</a>
|
||||||
|
|
||||||
|
<div class="alert alert-error" ng-if="error !== undefined">
|
||||||
|
There was an error adding your repository. Please ensure the
|
||||||
|
repository exists and you have admin privileges.
|
||||||
|
</div>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input type="text" placeholder="octocat/Hello-World" ng-model="slug" />
|
<input type="text" placeholder="octocat/Hello-World" ng-model="slug" />
|
||||||
<button ng-click="add(slug)">Add</button>
|
<button ng-click="add(slug)">Add</button>
|
||||||
|
|
Loading…
Reference in a new issue