diff --git a/static/js/pandora/siteDialog.js b/static/js/pandora/siteDialog.js index 490780e9f..f635546e4 100644 --- a/static/js/pandora/siteDialog.js +++ b/static/js/pandora/siteDialog.js @@ -33,7 +33,8 @@ pandora.ui.siteDialog = function(section) { Ox.Editable({ clickLink: pandora.clickLink, editable: pandora.site.capabilities.canEditSitePages[pandora.user.level], - tooltip: 'Doubleclick to edit', + tooltip: pandora.site.capabilities.canEditSitePages[pandora.user.level] + ? 'Doubleclick to edit' : '', type: 'textarea', value: result.data.body }) @@ -77,7 +78,7 @@ pandora.ui.siteDialog = function(section) { .html( '' + name + '
' + risk[i] + ' Risk' - + (i % 3 == 0 ? '
of ' : ' of
') + + (risk[i].length > 6 ? '
of ' : ' of
') + 'Legal Action
' ) .appendTo($column);