Skip to content

Commit

Permalink
style: adjust jinja formatting to reduce extra whitespace scidsg#573
Browse files Browse the repository at this point in the history
For Roadmap Item scidsg#533
  • Loading branch information
rmlibre committed Sep 16, 2024
1 parent 6d7eaff commit 47d49da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hushline/templates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>Settings</h2>
Email &amp; Encryption
</button>
</li>
{% if user.is_admin %}
{% if user.is_admin -%}
<li role="presentation">
<button
type="button"
Expand All @@ -57,7 +57,7 @@ <h2>Settings</h2>
Branding
</button>
</li>
{% endif %}
{%- endif %}
<li role="presentation">
<button
type="button"
Expand Down Expand Up @@ -482,7 +482,7 @@ <h3>Message Encryption</h3>
{% endif %}
</div>

{% if user.is_admin %}
{% if user.is_admin -%}
<div
id="branding"
class="tab-content admin-only"
Expand Down Expand Up @@ -525,7 +525,7 @@ <h3>App Name</h3>
<button type="submit" class="btn">Update Name</button>
</form>
</div>
{% endif %}
{%- endif %}

<div
id="advanced"
Expand Down

0 comments on commit 47d49da

Please sign in to comment.