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,
|
"https": false,
|
||||||
"id": "pandora",
|
"id": "pandora",
|
||||||
"name": "Demo",
|
"name": "pan.do/ra",
|
||||||
"sendReferrer": true,
|
"sendReferrer": true,
|
||||||
"url": "pandora.local"
|
"url": "pandora.local"
|
||||||
},
|
},
|
||||||
|
|
|
@ -25,9 +25,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
} else if (id == 'news') {
|
} else if (id == 'news') {
|
||||||
pandora.$ui.news = pandora.ui.news(dialogWidth, dialogHeight).appendTo($content);
|
pandora.$ui.news = pandora.ui.news(dialogWidth, dialogHeight).appendTo($content);
|
||||||
} else if (id == 'software') {
|
} else if (id == 'software') {
|
||||||
Ox.Element()
|
var about = '<h1><b>pan.do/ra</b></h1>'
|
||||||
.html(Ox._(
|
|
||||||
'<h1><b>pan.do/ra</b></h1>'
|
|
||||||
+ '<sub>open media archive</sub>'
|
+ '<sub>open media archive</sub>'
|
||||||
+ '<p><b>{0}</b> is based on <b>pan.do/ra</b>, '
|
+ '<p><b>{0}</b> is based on <b>pan.do/ra</b>, '
|
||||||
+ 'a free, open source platform for media archives.</p>'
|
+ '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 '
|
+ '</b> is running <b>pan.do/ra</b> revision '
|
||||||
+ '{1}.</sub>'
|
+ '{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]
|
[pandora.site.site.name, pandora.site.site.version]
|
||||||
))
|
))
|
||||||
.appendTo($content);
|
.appendTo($content);
|
||||||
|
|
Loading…
Reference in a new issue