From ef0c0e337c518d355952bdf7aac15302ef7f449c Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 23 Mar 2012 08:32:17 +0000 Subject: [PATCH] update software panel in site dialog --- static/js/pandora/siteDialog.js | 6 +++--- static/js/pandora/usersDialog.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/pandora/siteDialog.js b/static/js/pandora/siteDialog.js index eadfde9f8..eb4734930 100644 --- a/static/js/pandora/siteDialog.js +++ b/static/js/pandora/siteDialog.js @@ -24,10 +24,10 @@ pandora.ui.siteDialog = function(section) { .html( '

Pan.do/ra

' + 'open media archive' - + '

' + pandora.site.site.name + ' is based on Pan.do/ra, ' + + '

' + pandora.site.site.name + ' is based on

Pan.do/ra, ' + 'a free open source framework for media archives.

' - + 'Pan.do/ra includes OxJS, a new JavaScript library for web applications.

' - + '

Pan.do/ra and OxJS will be released in 2012. More soon...

' + + 'Pan.do/ra includes OxJS, a new JavaScript library for web applications.

' + + 'Pan.do/ra and OxJS will be released in 2012. More soon...

' ) .appendTo($content); } else { diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index 92276a2c1..6d1f79db9 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -137,6 +137,7 @@ pandora.ui.usersDialog = function() { align: 'center', format: function(value, data) { var userLevel = data.useragent.indexOf('Googlebot') > -1 + || data.useragent.indexOf('BingPreview') > -1 ? 'Robot' : Ox.toTitleCase(value); return Ox.Theme.formatColorLevel( userLevels.indexOf(userLevel),