diff --git a/www/kojiweb/activesession.chtml b/www/kojiweb/activesession.chtml index df4ca303..eec433f2 100644 --- a/www/kojiweb/activesession.chtml +++ b/www/kojiweb/activesession.chtml @@ -18,7 +18,7 @@ #for $act in $activesess
| File Name | $koji.pathinfo.winfile($archive) | #else -File Name | $util.escapeHTML($archive.filename) | +File Name | $archive.filename | #end if
|---|---|---|---|---|---|
| File Type | $util.escapeHTML($archive_type.description) | +File Type | $archive_type.description | ||
| Build | $koji.buildLabel($build) | @@ -62,7 +62,7 @@ #end if #if $archive.get('extra')||||
| Extra | $util.escapeHTML($pformat($archive.extra)) | +Extra | $pformat($archive.extra) | ||
| $util.escapeHTML($file.name) | $util.formatNatural($file.size) | +$file.name | $util.formatNatural($file.size) |
| $util.escapeHTML($tag.name) | +$tag.name |
| Host | $util.escapeHTML($buildroot.host_name) | +Host | $buildroot.host_name |
|---|---|---|---|
| Arch | $util.escapeHTML($buildroot.arch) | +Arch | $buildroot.arch |
| ID | $buildroot.id | @@ -32,7 +32,7 @@Repo ID | $buildroot.repo_id |
| Repo Tag | $util.escapeHTML($buildroot.tag_name) | +Repo Tag | $buildroot.tag_name |
| Repo State | $util.imageTag($util.repoStateName($buildroot.repo_state)) | @@ -42,7 +42,7 @@||
| Extra | $util.escapeHTML($pformat($buildroot.extra)) | +Extra | $pformat($buildroot.extra) |
| ID | $buildroot.id | ||
| Host OS | $util.escapeHTML($buildroot.host_os) | +Host OS | $buildroot.host_os |
| Host Arch | $util.escapeHTML($buildroot.host_arch) | +Host Arch | $buildroot.host_arch |
| Content Generator | $util.escapeHTML($buildroot.cg_name) ($buildroot.cg_version) | +Content Generator | $buildroot.cg_name ($buildroot.cg_version) |
| Container Type | $util.escapeHTML($buildroot.container_type) | +Container Type | $buildroot.container_type |
| Container Arch | $util.escapeHTML($buildroot.container_arch) | +Container Arch | $buildroot.container_arch |
| Extra | $util.escapeHTML($pformat($buildroot.extra)) | +Extra | $pformat($buildroot.extra) |
| #else State: @@ -25,7 +50,7 @@ #end if @@ -33,12 +58,12 @@ Built by: | @@ -59,8 +84,8 @@ Inherited: | #end if @@ -79,7 +104,7 @@ | #end for #if $prefix - all + all #else all #end if @@ -92,7 +117,7 @@ Page: @@ -122,11 +147,11 @@ #for $build in $builds | |||||||||||||||||||||||||||
| $build.build_id | -$util.escapeHTML($koji.buildLabel($build)) | +$koji.buildLabel($build) | #if $tag -$util.escapeHTML($build.tag_name) | +$build.tag_name | #end if -$util.escapeHTML($build.owner_name) | +$build.owner_name | $util.formatTime($build.completion_time) | #set $stateName = $util.stateName($build.state)$util.stateImage($build.state) | @@ -144,7 +169,7 @@ Page: diff --git a/www/kojiweb/buildsbystatus.chtml b/www/kojiweb/buildsbystatus.chtml index 5d23cacf..e416f795 100644 --- a/www/kojiweb/buildsbystatus.chtml +++ b/www/kojiweb/buildsbystatus.chtml @@ -1,10 +1,11 @@ #from kojiweb import util +#@util.safe_return #def printOption(value, label=None) #if not $label #set $label = $value #end if - + #end def #set $numTotal = $numSucceeded + $numFailed + $numCanceled diff --git a/www/kojiweb/buildsbytarget.chtml b/www/kojiweb/buildsbytarget.chtml index 84f286b8..44db702b 100644 --- a/www/kojiweb/buildsbytarget.chtml +++ b/www/kojiweb/buildsbytarget.chtml @@ -1,11 +1,12 @@ #from kojiweb import util #from urllib.parse import quote +#@util.safe_return #def printOption(value, label=None) #if not $label #set $label = $value #end if - + #end def #include "includes/header.chtml" @@ -38,7 +39,7 @@ Page: @@ -62,7 +63,7 @@ #if $len($targets) > 0 #for $target in $targets|||||||||||||||||||||
| $util.escapeHTML($target.name) | +$target.name | $target.builds | |||||||||||||||||||||||||||
| $util.escapeHTML($userBuild.name) | +$userBuild.name | $userBuild.builds | |||||||||||||||||||||||||||
| Name | - + |
|---|
| Name | $util.escapeHTML($target.name) | +Name | $target.name | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | $target.id | ||||||||||||||||||||||||||||
| Build Tag | $util.escapeHTML($buildTag.name) | +Build Tag | $buildTag.name | ||||||||||||||||||||||||||
| Destination Tag | $util.escapeHTML($destTag.name) | +Destination Tag | $destTag.name | ||||||||||||||||||||||||||
| $target.id | -$util.escapeHTML($target.name) | +$target.name |
| Name | $util.escapeHTML($channel.name) | +Name | $channel.name | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | $channel.id | ||||||||||||||||||||||||||||
| Description | $util.escapeHTML($channel.description) | +Description | $channel.description | ||||||||||||||||||||||||||
| Comment | $util.escapeHTML($channel.comment) | +Comment | $channel.comment | ||||||||||||||||||||||||||
| Active Tasks | $taskCount | @@ -39,7 +39,7 @@||||||||||||||||||||||||||||
| $util.escapeHTML($host.name) | +$host.name | #if $host.enabled then $util.imageTag('yes') else $util.imageTag('no')# | #if $host.ready then $util.imageTag('yes') else $util.imageTag('no')# | ||||||||||||||||||||||||||
| - $util.escapeHTML($channel['name']) + $channel['name'] |
#if $channel['capacityPerc']
diff --git a/www/kojiweb/error.chtml b/www/kojiweb/error.chtml
index 9d48a32a..4d148477 100644
--- a/www/kojiweb/error.chtml
+++ b/www/kojiweb/error.chtml
@@ -5,7 +5,7 @@
Error
-$util.escapeHTML($explanation)
+$explanation
#if $debug_level >= 1
@@ -13,7 +13,7 @@ $util.escapeHTML($explanation)
#else
#if $debug_level >= 2
@@ -22,7 +22,7 @@ $util.escapeHTML($tb_short)
diff --git a/www/kojiweb/externalrepoinfo.chtml b/www/kojiweb/externalrepoinfo.chtml
index 897c7173..379f9c39 100644
--- a/www/kojiweb/externalrepoinfo.chtml
+++ b/www/kojiweb/externalrepoinfo.chtml
@@ -2,24 +2,24 @@
#include "includes/header.chtml"
- Information for external repo $util.escapeHTML($extRepo.name)+Information for external repo $extRepo.name
|