Skip to content

Commit

Permalink
Display webhook info in job details
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Mar 10, 2011
1 parent 103f5b1 commit 3203d06
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions rundeckapp/grails-app/views/execution/_execDetails.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,17 @@
</g:if>
<g:if test="${execdata instanceof ScheduledExecution && execdata.notifications}">
<tr>
<g:each var="notify" in="${execdata.notifications}">
<g:each var="notify" in="${execdata.notifications}" status="i">
<td class="displabel">Notify <g:message code="notification.event.${notify.eventTrigger}"/>:</td>
<td>${notify.content.encodeAsHTML()}</td>
<td>
<g:if test="${notify.type=='url'}">
<g:expander key="webhook${rkey}_${i}">Webhook</g:expander>
<span class="webhooklink note" id="webhook${rkey}_${i}" style="display:none;" title="URLs: ${notify.content.encodeAsHTML()}">${notify.content.encodeAsHTML()}</span>
</g:if>
<g:else>
${notify.content.encodeAsHTML()}
</g:else>
</td>

</g:each>
</tr>
Expand Down

0 comments on commit 3203d06

Please sign in to comment.