From 956854d5bc5454be0c85d4a76e2f053e3e9d4b4c Mon Sep 17 00:00:00 2001
From: rolux
Date: Tue, 8 Nov 2011 13:09:21 +0000
Subject: [PATCH] add software blurb
---
static/js/pandora/siteDialog.js | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/static/js/pandora/siteDialog.js b/static/js/pandora/siteDialog.js
index 5197d276..ca393c63 100644
--- a/static/js/pandora/siteDialog.js
+++ b/static/js/pandora/siteDialog.js
@@ -13,8 +13,19 @@ pandora.ui.siteDialog = function(section) {
var $tabPanel = Ox.TabPanel({
content: function(id) {
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
- if (id == 'contact') {
- $content.append(pandora.$ui.contactForm = pandora.ui.contactForm());
+ if (id == 'software') {
+ Ox.Element()
+ .html(
+ 'Pan.do/ra
'
+ + 'open media archive'
+ + '' + 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...
'
+ )
+ .appendTo($content);
+ } else if (id == 'contact') {
+ pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
} else {
pandora.api.getPage({name: id}, function(result) {
Ox.Editable({