summaryrefslogtreecommitdiffstats
path: root/base/server/share/webapps/pki
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-06-23 14:51:46 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-06-24 16:45:07 -0400
commit7be5451f6bb665ab57300431fbcd1c30f51c2e04 (patch)
treee09dc309dab9095002c9c7c7532281f8e236f422 /base/server/share/webapps/pki
parent0b4f4e78841abdb9ab90c7b084ddfe89f4043743 (diff)
downloadpki-7be5451f6bb665ab57300431fbcd1c30f51c2e04.tar.gz
pki-7be5451f6bb665ab57300431fbcd1c30f51c2e04.tar.xz
pki-7be5451f6bb665ab57300431fbcd1c30f51c2e04.zip
Fixed missing TPS activity attributes.
The ActivityService has been fixed to return the missing TPS activity attributes including IP, operation, result, and message. The TPS CLI and UI has been fixed to display the activity date in UTC format. Ticket #1050
Diffstat (limited to 'base/server/share/webapps/pki')
-rw-r--r--base/server/share/webapps/pki/css/pki-ui.css4
-rw-r--r--base/server/share/webapps/pki/js/pki-ui.js5
2 files changed, 8 insertions, 1 deletions
diff --git a/base/server/share/webapps/pki/css/pki-ui.css b/base/server/share/webapps/pki/css/pki-ui.css
index d5c74445f..c02028876 100644
--- a/base/server/share/webapps/pki/css/pki-ui.css
+++ b/base/server/share/webapps/pki/css/pki-ui.css
@@ -56,6 +56,10 @@ fieldset label {
line-height: 30px;
}
+fieldset input {
+ min-width: 250px;
+}
+
input[readonly="readonly"] {
background-image: none;
border: 1px solid #FFFFFF;
diff --git a/base/server/share/webapps/pki/js/pki-ui.js b/base/server/share/webapps/pki/js/pki-ui.js
index d4e270601..bf04d0121 100644
--- a/base/server/share/webapps/pki/js/pki-ui.js
+++ b/base/server/share/webapps/pki/js/pki-ui.js
@@ -447,9 +447,11 @@ var TableItem = Backbone.View.extend({
var name = RegExp.$1;
var value = self.get(name);
+ if (value === undefined) value = "";
+ if (value instanceof Date) value = value.toUTCString();
// replace pattern occurance with attribute value
- newContent += content.substring(0, index) + (value === undefined ? "" : value);
+ newContent += content.substring(0, index) + value;
// process the remaining content
content = content.substring(index + name.length + 3);
@@ -1024,6 +1026,7 @@ var EntryPage = Page.extend({
var name = input.attr("name");
var value = self.entry[name];
if (value === undefined) value = "";
+ if (value instanceof Date) value = value.toUTCString();
input.val(value);
},
close: function() {