correctly handle no-target builds in taskinfo webui
This commit is contained in:
parent
2cc6c1fba7
commit
80b2b869dc
1 changed files with 4 additions and 0 deletions
|
|
@ -82,7 +82,11 @@
|
|||
#set $buildTarget = $params[2]
|
||||
<strong>Recipients:</strong> $printValue('', $params[0])<br/>
|
||||
<strong>Build:</strong> <a href="buildinfo?buildID=$build.id">$koji.buildLabel($build)</a><br/>
|
||||
#if $buildTarget
|
||||
<strong>Build Target:</strong> <a href="buildtargetinfo?targetID=$buildTarget.id">$buildTarget.name</a><br/>
|
||||
#else
|
||||
<strong>Build Target:</strong> (no build target)<br/>
|
||||
#end if
|
||||
<strong>Web URL:</strong> <a href="$params[3]">$params[3]</a>
|
||||
#elif $task.method == 'tagNotification'
|
||||
<strong>Recipients:</strong> $printValue('', $params[0])<br/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue