mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
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,7 +2,12 @@
|
|||
|
||||
<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>
|
||||
<input type="text" placeholder="octocat/Hello-World" ng-model="slug" />
|
||||
<button ng-click="add(slug)">Add</button>
|
||||
</form>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue