Show "custom domain" option for free plan too

This commit is contained in:
Son NK 2019-12-29 10:52:30 +01:00
parent 2d3490ad61
commit f509c9d9e9
1 changed files with 4 additions and 6 deletions

View File

@ -50,12 +50,10 @@
<i class="dropdown-icon fe fe-chrome"></i> API Key
</a>
{% if current_user.is_premium() %}
<a class="dropdown-item" href="{{ url_for('dashboard.custom_domain') }}">
<i class="dropdown-icon fe fe-server"></i> Custom Domains
<span class="badge badge-success">Premium</span>
</a>
{% endif %}
<a class="dropdown-item" href="{{ url_for('dashboard.custom_domain') }}">
<i class="dropdown-icon fe fe-server"></i> Custom Domains
<span class="badge badge-success">Premium</span>
</a>
{% if current_user.is_premium() %}
<a class="dropdown-item" href="{{ url_for('dashboard.billing') }}">