Get Quay notification support working in the notification methods

This commit is contained in:
Joseph Schorr 2014-07-18 14:12:20 -04:00
parent 3865e3b1b7
commit f7c154abb5
4 changed files with 44 additions and 9 deletions

View file

@ -34,7 +34,7 @@
</span>
</div>
<div class="view-row" ng-if="methodInfo.id == 'email' || methodInfo.id == 'webhook'">
<div class="view-row">
<span ng-switch on="methodInfo.id">
<span ng-switch-when="email">
<span class="flow-text">To</span>
@ -45,6 +45,11 @@
<span class="flow-text">To</span>
<code>{{ config.url }}</code>
</span>
<span ng-switch-when="quay_notification">
<span class="flow-text">To</span>
<span class="entity-reference" entity="config.target" namespace="repository.namespace"></span>
</span>
</span>
</div>
</div>