diff --git a/static/js/changelogDialog.js b/static/js/changelogDialog.js index 117e1975..92ee922f 100644 --- a/static/js/changelogDialog.js +++ b/static/js/changelogDialog.js @@ -153,12 +153,19 @@ pandora.ui.changelogDialog = function() { }) ], closeButton: true, - content: Ox.Element(), // FIXME + content: $('').append( + $('
')
+                                    .addClass('OxSelectable')
+                                    .css({margin: '16px'})
+                                    .text(
+                                        JSON.stringify(JSON.parse(value.data), null, '    ')
+                                    )
+                            ),
                             height: height - 48,
                             keys: {enter: 'close', escape: 'close'},
                             maximizeButton: true,
                             removeOnClose: true,
-                            title: formatURL(value.url, value.line),
+                            title: [value.user, value.action, value.changeid].join(' — ')),
                             width: width - 48
                         })
                         .open();
@@ -221,19 +228,6 @@ pandora.ui.changelogDialog = function() {
         that.superClose();
     };
 
-    function formatURL(url, line) {
-        return Ox.encodeHTMLEntities(url.split('?')[0]) + ':' + line;
-    }
-
-    function renderLog(logData) {
-        var $checkbox;
-        return Ox.Element()
-            .css({
-                padding: '8px'
-            })
-            .append($('
').html(logData.text));
-    }
-
     function updateList(key, value) {
         var query = {
                 conditions: key == 'all' ? [