|
@@ -69,6 +69,11 @@ def get_data_value(name):
|
|
|
data.d_type = "txt"
|
|
|
data.d_variable = "True"
|
|
|
data.save()
|
|
|
+ elif name == "includ-right-panel":
|
|
|
+ data.d_titre = name
|
|
|
+ data.d_type = "txt"
|
|
|
+ data.d_variable = "None"
|
|
|
+ data.save()
|
|
|
else :
|
|
|
data.d_variable = "Blop"
|
|
|
return data.d_variable
|
|
@@ -96,6 +101,7 @@ def gen_page_base():
|
|
|
page.c_bgimage = get_data_value('background')
|
|
|
page.c_bgimagelogo = get_data_value('background-logo')
|
|
|
page.c_menulogin = get_data_value('login-menu')
|
|
|
+ page.c_includ_rp = get_data_value('includ-right-panel')
|
|
|
|
|
|
return page
|
|
|
|
|
@@ -119,6 +125,7 @@ def gen_page_sys(p_titre_slugify):
|
|
|
page.c_bgimage = get_data_value('background')
|
|
|
page.c_bgimagelogo = get_data_value('background-logo')
|
|
|
page.c_menulogin = get_data_value('login-menu')
|
|
|
+ page.c_includ_rp = get_data_value('includ-right-panel')
|
|
|
|
|
|
return page
|
|
|
|