summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-15 01:19:03 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-15 01:19:03 +0300
commit90f0e92fa2ffebd7c30726ce63f04a982979c69d (patch)
tree4697d71795bdb0624c4715c8a66a60cc4c749bc6
parenta8efe20dbb11d6d616dd2e9947e0349930550965 (diff)
unite 'rzdoc__mainpage_name' old aliases
-rw-r--r--res/templates/index.html2
-rw-r--r--src/client/rz_core.js2
-rw-r--r--src/server/rz_server.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 9c9a97b8..3872332f 100644
--- a/res/templates/index.html
+++ b/res/templates/index.html
@@ -13,7 +13,7 @@ var rz_config = { // set as a global variable
'optimized_main': {{ rz_config__optimized_main }},
'rand_id_generator' : 'hash',
'rzdoc_cur__name': "{{ rz_config__rzdoc_cur__name|safe }}",
- 'rzdoc_default__name': '{{ rz_config__rzdoc_default__name }}',
+ 'rzdoc__mainpage_name': '{{ rz_config__rzdoc__mainpage_name }}',
'rz_server_host': '{{ rz_config__hostname }}',
'rz_server_port': '{{ rz_config__port }}',
'separator_string': ' ',
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 41534201..06053718 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -286,7 +286,7 @@ function rzdoc__current__get_name() {
}
function rzdoc__open_default() {
- return rzdoc__open(rz_config.rzdoc_default__name);
+ return rzdoc__open(rz_config.rzdoc__mainpage_name);
}
var published_var_dict = {
diff --git a/src/server/rz_server.py b/src/server/rz_server.py
index 3143631e..878c9a04 100644
--- a/src/server/rz_server.py
+++ b/src/server/rz_server.py
@@ -77,7 +77,7 @@ class Config(object):
cfg['SECRET_KEY'] = ''
# Rhizi
- cfg['rzdoc__welcome_doc__name'] = 'Welcome Rhizi'
+ cfg['rzdoc__mainpage_name'] = 'Welcome Rhizi'
cfg['rzdoc__name__max_length'] = 256
with open(file_path, 'r') as f: