From 7d122c0f6c9e33d5439cff2eda03dfdad6fb88b9 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 3 Jun 2021 17:10:29 +0100 Subject: [PATCH 1/2] fix renderGroup editable --- config.jsonc | 2 +- static/js/infoView.leftovers.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.jsonc b/config.jsonc index 4bdf5ad..29f0e42 100644 --- a/config.jsonc +++ b/config.jsonc @@ -1290,7 +1290,7 @@ "email": { // E-mail address in contact form (to) "contact": "contact@leftove.rs", - "footer": "-- https://leftove.rs/", + "footer": "-- \nhttps://leftove.rs/", "prefix": "leftove.rs news -", // E-mail address uses by the system (from) "system": "system@leftove.rs" diff --git a/static/js/infoView.leftovers.js b/static/js/infoView.leftovers.js index 0b3a8bb..a17459c 100644 --- a/static/js/infoView.leftovers.js +++ b/static/js/infoView.leftovers.js @@ -700,6 +700,7 @@ pandora.ui.infoView = function(data, isMixed) { $('').html(formatKey(key)).appendTo($element); Ox.EditableContent({ clickLink: pandora.clickLink, + editable: canEdit, format: function(value) { return formatValue(key, value); }, From 4ca42a041a7c77b37481f1d944a99cd7accbf5cd Mon Sep 17 00:00:00 2001 From: j Date: Thu, 24 Jun 2021 17:36:02 +0100 Subject: [PATCH 2/2] add group template --- static/html/entities.group.entity.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 static/html/entities.group.entity.html diff --git a/static/html/entities.group.entity.html b/static/html/entities.group.entity.html new file mode 100644 index 0000000..33b40c1 --- /dev/null +++ b/static/html/entities.group.entity.html @@ -0,0 +1,8 @@ +
+
+
About {name}:
+
+
{description}
+
+
+