From ef9687b0a5c0a50415d01203cf395260b017f8fe Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 15 Jan 2025 13:13:16 +0100 Subject: [PATCH] replace waring for yellow in details --- device/templates/details.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/device/templates/details.html b/device/templates/details.html index c5fa7a4..47a65e0 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -4,7 +4,7 @@ {% block content %}
- -
+
{% for note in device_notes|slice:":4" %}
-
+
{{ note.date|timesince }} {% trans "ago" %} {% if user == note.user or user.is_admin %} - {% trans "Editable" %} + {% trans "Editable" %}
{{ note.user.get_full_name|default:note.user.username }}
- + {% if user == note.user or user.is_admin %}
@@ -73,7 +73,7 @@ - +
{% endif %} - +
{% empty %} @@ -150,7 +150,7 @@ {% endif %} - @@ -263,8 +263,8 @@ saveLink.classList.remove("disabled", "text-muted", "border-light"); saveLink.classList.add("text-success", "border-success"); - saveLink.style.pointerEvents = "auto"; - + saveLink.style.pointerEvents = "auto"; + } //updates note-update-form with new value from blockquote function submitUpdatedNote(noteId) {