forked from 0x2620/pandora
call demo pan.do/ra
This commit is contained in:
parent
a687f01fc7
commit
50c0d67c20
2 changed files with 25 additions and 18 deletions
|
@ -1001,7 +1001,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
|||
},
|
||||
"https": false,
|
||||
"id": "pandora",
|
||||
"name": "Demo",
|
||||
"name": "pan.do/ra",
|
||||
"sendReferrer": true,
|
||||
"url": "pandora.local"
|
||||
},
|
||||
|
|
|
@ -25,9 +25,7 @@ pandora.ui.siteDialog = function(section) {
|
|||
} else if (id == 'news') {
|
||||
pandora.$ui.news = pandora.ui.news(dialogWidth, dialogHeight).appendTo($content);
|
||||
} else if (id == 'software') {
|
||||
Ox.Element()
|
||||
.html(Ox._(
|
||||
'<h1><b>pan.do/ra</b></h1>'
|
||||
var about = '<h1><b>pan.do/ra</b></h1>'
|
||||
+ '<sub>open media archive</sub>'
|
||||
+ '<p><b>{0}</b> is based on <b>pan.do/ra</b>, '
|
||||
+ 'a free, open source platform for media archives.</p>'
|
||||
|
@ -42,7 +40,16 @@ pandora.ui.siteDialog = function(section) {
|
|||
+ '</b> is running <b>pan.do/ra</b> revision '
|
||||
+ '{1}.</sub>'
|
||||
: ''
|
||||
),
|
||||
);
|
||||
if (pandora.site.site.name.toLocaleLowerCase() == 'pan.do/ra') {
|
||||
about = about
|
||||
.replace('<b>{0}</b> is based on <b>pan.do/ra</b>, ',
|
||||
'<b>pan.do/ra</b> is ')
|
||||
.replace('<b>{0}</b> is running <b>pan.do/ra</b> ',
|
||||
'This instances runs <b>pan.do/ra</b> ');
|
||||
}
|
||||
Ox.Element()
|
||||
.html(Ox._(about,
|
||||
[pandora.site.site.name, pandora.site.site.version]
|
||||
))
|
||||
.appendTo($content);
|
||||
|
|
Loading…
Reference in a new issue