Add better messaging around squashed fetching when the user is not a namespace admin

Fixed #147
This commit is contained in:
Joseph Schorr 2015-06-17 16:38:19 -04:00
parent ee154c37a8
commit 96bcfa84ae
2 changed files with 12 additions and 3 deletions

View file

@ -42,7 +42,15 @@
allowed-entities="['robot']"
clear-value="clearCounter"
auto-clear="false"
current-entity="currentEntity"></div>
current-entity="currentEntity"
ng-show="currentFormat.has_creds"></div>
<div class="co-alert co-alert-warning" ng-show="!currentFormat.has_creds"
style="margin-top: 4px; margin-bottom: 0px">
Fetching a {{ currentFormat.title }} requires a robot account. You must therefore
have admin access on namespace <strong>{{ repository.namespace }}</strong> to setup
this fetch.
</div>
</td>
</tr>
</table>