From 726ab7fc057d36982f319b02288d5caab480aa50 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Fri, 16 Apr 2021 16:02:56 -0700 Subject: [PATCH] fix user key styles --- netbox/templates/users/api_tokens.html | 4 ++-- netbox/templates/users/userkey.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/netbox/templates/users/api_tokens.html b/netbox/templates/users/api_tokens.html index a3cf8dbd2..096dd357d 100644 --- a/netbox/templates/users/api_tokens.html +++ b/netbox/templates/users/api_tokens.html @@ -51,9 +51,9 @@ {% empty %}

You do not have any API tokens.

{% endfor %} - + - Add a token + Add a Token diff --git a/netbox/templates/users/userkey.html b/netbox/templates/users/userkey.html index ae9c5da08..673a27aee 100644 --- a/netbox/templates/users/userkey.html +++ b/netbox/templates/users/userkey.html @@ -11,7 +11,7 @@

- Your user key is + Your User Key is {% if object.is_active %} Active {% else %} @@ -27,19 +27,19 @@ Your user key is inactive. Ask an administrator to enable it for you. {% endif %} -
{{ object.public_key }}
+
{{ object.public_key }}

{% if object.session_key %} -

Session key: Active

+

Session Key: Active

Created {{ object.session_key.created }} {% else %} -

No active session key

+

No Active Session Key

{% endif %} {% else %}

You don't have a user key on file.