diff --git a/static/js/pandora/helpDialog.js b/static/js/pandora/helpDialog.js
index 61f95f4d..2c780065 100644
--- a/static/js/pandora/helpDialog.js
+++ b/static/js/pandora/helpDialog.js
@@ -72,11 +72,17 @@ pandora.ui.helpDialog = function() {
Ox.get('/static/html/help.html', function(html) {
- var $html = $('
').html(html);
+ pandora.site.itemName = Ox.map(pandora.site.itemName, function(v) {
+ return v.toLowerCase();
+ });
+ var $html = $('
').html(Ox.formatString(html, pandora.site));
+ pandora.site.itemName = Ox.map(pandora.site.itemName, function(v) {
+ return Ox.toTitleCase(v);
+ });
pandora.site.help.forEach(function(section) {
var html = $html.find('#' + section.id).html();
- text[section.id] = '
' + section.title + '
\n' + html;
+ text[section.id] = '' + section.title + '
\n' + html;
});
$list = Ox.TableList({
@@ -127,6 +133,11 @@ pandora.ui.helpDialog = function() {
that.select = function(id) {
$text.html(text[id]);
+ $text.find('td:first-child').css({
+ height: '16px',
+ paddingRight: '8px',
+ textAlign: 'right'
+ });
return that;
}