add new template folder

The add new templates page now has option to add template folders.
Tweaked wording of other options and h1 to clarify options since it's
not all about templates any more.

Added api client and stuff for it
This commit is contained in:
Leo Hemsted
2018-11-01 15:33:09 +00:00
committed by Alexey Bezhan
parent 37295f4b6e
commit 7cbf5de240
11 changed files with 134 additions and 10 deletions

View File

@@ -67,6 +67,7 @@ from app.notify_client.inbound_number_client import inbound_number_client
from app.notify_client.billing_api_client import billing_api_client
from app.notify_client.complaint_api_client import complaint_api_client
from app.notify_client.platform_stats_api_client import platform_stats_api_client
from app.notify_client.template_folder_api_client import template_folder_api_client
from app.commands import setup_commands
from app.utils import get_cdn_domain, gmt_timezones, id_safe
@@ -128,6 +129,7 @@ def create_app(application):
billing_api_client.init_app(application)
complaint_api_client.init_app(application)
platform_stats_api_client.init_app(application)
template_folder_api_client.init_app(application)
login_manager.init_app(application)
login_manager.login_view = 'main.sign_in'