From 2bb7039beeb6d775ab4860c735f222377585c2aa Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Thu, 23 May 2019 15:28:26 +0200 Subject: [PATCH] update account management links rendering --- static/grandlyon-cut/_custom.scss | 1 + templates/authentic2/accounts.html | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index 15b83a0..7b5d28e 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -994,6 +994,7 @@ div.cut-edit { margin: 1ex 0; a { color: #fff; + @include button; &:hover { background: $footer-background; } diff --git a/templates/authentic2/accounts.html b/templates/authentic2/accounts.html index 80cbbc8..ce1e6d3 100644 --- a/templates/authentic2/accounts.html +++ b/templates/authentic2/accounts.html @@ -181,12 +181,8 @@ {% if not user.fc_accounts.exists %} -
- {% for id, block in frontends_block_by_id.items %} -
- {{ block.content|safe }} -
- {% endfor %} +
+ {{ frontends_block_by_id.fc.content|safe }}
{% endif %}