Introducing settings blueprint

Now settings live in a dedicated space, the settings blueprint can be used by Pillar applications, and the templates can be extended or overridden. Moved subscription and email settings to the blender-cloud repository.
This commit is contained in:
2017-08-30 23:06:43 +02:00
parent b6bd40f956
commit 7890cd2622
10 changed files with 63 additions and 208 deletions

View File

@@ -30,13 +30,13 @@ li(class="dropdown")
li.subscription-status(class="{{ subscription }}")
| {% if subscription == 'subscriber' %}
a.navbar-item(
href="{{url_for('users.settings_billing')}}"
href="{{url_for('settings.billing')}}"
title="View subscription info")
i.pi-grin
span Your subscription is active!
| {% elif subscription == 'demo' %}
a.navbar-item(
href="{{url_for('users.settings_billing')}}"
href="{{url_for('settings.billing')}}"
title="View subscription info")
i.pi-heart-filled
span You have a free account.
@@ -72,13 +72,13 @@ li(class="dropdown")
| {% endif %}
li
a.navbar-item(
href="{{ url_for('users.settings_profile') }}"
href="{{ url_for('settings.profile') }}"
title="Settings")
i.pi-cog
| Settings
li
a.navbar-item(
href="{{ url_for('users.settings_billing') }}"
href="{{ url_for('settings.billing') }}"
title="Billing")
i.pi-credit-card
| Subscription