From 3ac3004cd0c9fc092f8bd6e20a206443d1a67bf9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 23 Sep 2021 01:03:52 +0200 Subject: [PATCH] clearer signing communication --- .../InvenTree/settings/plugin_settings.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/InvenTree/templates/InvenTree/settings/plugin_settings.html b/InvenTree/templates/InvenTree/settings/plugin_settings.html index 633b41a000..7ded0b4a08 100644 --- a/InvenTree/templates/InvenTree/settings/plugin_settings.html +++ b/InvenTree/templates/InvenTree/settings/plugin_settings.html @@ -38,17 +38,19 @@ {% trans "Commit Message" %}{{ plugin.commit.message }}{% include "clip.html" %} {% if plugin.sign_state == 0 %} - {% define 'text-success' as sign_color %} + {% define 'success' as sign_color %} {% else %} - {% define 'text-danger' as sign_color %} + {% define 'danger' as sign_color %} {% endif %} - - {% trans "Commit verified" %}{{ plugin.commit.verified }} + + {% trans "Commit verified" %} + {{ plugin.commit.verified }} - - {% trans "Commit Sign Key" %}{{ plugin.commit.key }}{% include "clip.html" %} + + {% trans "Commit Sign Key" %} + {{ plugin.commit.key }}{% include "clip.html" %}