forked from 0x2620/pandora
update software panel in site dialog
This commit is contained in:
parent
57b7994a78
commit
ef0c0e337c
2 changed files with 4 additions and 3 deletions
|
@ -24,10 +24,10 @@ pandora.ui.siteDialog = function(section) {
|
|||
.html(
|
||||
'<h1><b>Pan.do/ra</b></h1>'
|
||||
+ '<sub>open media archive</sub>'
|
||||
+ '<p><b>' + pandora.site.site.name + '</b> is based on <b>Pan.do/ra</b>, '
|
||||
+ '<p><b>' + pandora.site.site.name + '</b> is based on <p><b>Pan.do/ra</b>, '
|
||||
+ 'a free open source framework for media archives.</p>'
|
||||
+ '<b>Pan.do/ra</b> includes <b>OxJS</b>, a new JavaScript library for web applications.</p>'
|
||||
+ '<p><b>Pan.do/ra</b> and <b>OxJS</b> will be released in 2012. More soon...</p>'
|
||||
+ '<b>Pan.do/ra</b> includes OxJS, a new JavaScript library for web applications.</p>'
|
||||
+ '<a href="http://pan.do/ra"><b>Pan.do/ra</b></a> and <a href="http://oxjs.org"><b>OxJS</b></a> will be released in 2012. More soon...</p>'
|
||||
)
|
||||
.appendTo($content);
|
||||
} else {
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue