fix
This commit is contained in:
parent
892f69fdc8
commit
a0f2cb5536
4 changed files with 12 additions and 12 deletions
|
@ -3,15 +3,7 @@
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
import validators
|
import validators
|
||||||
|
|
||||||
from flask import Blueprint, flash
|
from flask import Blueprint, flash, g, jsonify, redirect, render_template, request, session, url_for
|
||||||
from flask import g
|
|
||||||
from flask import jsonify
|
|
||||||
from flask import redirect
|
|
||||||
from flask import render_template
|
|
||||||
from flask import request
|
|
||||||
from flask import session
|
|
||||||
from flask import url_for
|
|
||||||
|
|
||||||
from SWSCloudCore.controllers.administrators import ControllerAdministrators
|
from SWSCloudCore.controllers.administrators import ControllerAdministrators
|
||||||
from SWSCloudCore.controllers.billing import ControllerBilling
|
from SWSCloudCore.controllers.billing import ControllerBilling
|
||||||
from SWSCloudCore.controllers.common import ControllerMessagesEmail
|
from SWSCloudCore.controllers.common import ControllerMessagesEmail
|
||||||
|
|
|
@ -3,6 +3,12 @@
|
||||||
<div class="large-4 columns">
|
<div class="large-4 columns">
|
||||||
<b>Поддержка</b>
|
<b>Поддержка</b>
|
||||||
<ul>
|
<ul>
|
||||||
|
{% if g.settings.get('SUPPORT_TEL', None) %}
|
||||||
|
<li>{{g.system_settings.get('SUPPORT_TEL')}}</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if g.settings.get('SUPPORT_EMAIL', None) %}
|
||||||
|
<li>{{g.system_settings.get('SUPPORT_EMAIL')}}</li>
|
||||||
|
{% endif %}
|
||||||
<li><a href="{{ url_for('support.index') }}">Поддержка</a></li>
|
<li><a href="{{ url_for('support.index') }}">Поддержка</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -24,4 +30,3 @@
|
||||||
{% if g.settings['footer_code'] %}
|
{% if g.settings['footer_code'] %}
|
||||||
{{ g.settings['footer_code']|safe }}
|
{{ g.settings['footer_code']|safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -43,4 +43,7 @@ create_key("social.facebook", "")
|
||||||
create_key("social.twitter", "")
|
create_key("social.twitter", "")
|
||||||
|
|
||||||
create_key("SERVICE_VMS_ENABLE", "1")
|
create_key("SERVICE_VMS_ENABLE", "1")
|
||||||
create_key("SERVICE_CONTAINERS_ENABLE", "1")
|
create_key("SERVICE_VMS_ENABLE", "1")
|
||||||
|
|
||||||
|
create_key("SUPPORT_TEL", "+7 499 702-02-36")
|
||||||
|
create_key("SUPPORT_EMAIL", "support@gocloud.ru")
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='SWSCloudCore',
|
name='SWSCloudCore',
|
||||||
version='2.5.16',
|
version='2.5.17',
|
||||||
author='Vyacheslav Anzhiganov',
|
author='Vyacheslav Anzhiganov',
|
||||||
author_email='hello@anzhiganov.com',
|
author_email='hello@anzhiganov.com',
|
||||||
packages=[
|
packages=[
|
||||||
|
|
Loading…
Add table
Reference in a new issue