From 12ad69aac9fce43260bb74c9e2508e27c0291542 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 May 2020 18:41:21 +0200 Subject: [PATCH] merge changes --- config.jsonc | 4 ++-- static/js/documentInfoView.leftovers.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.jsonc b/config.jsonc index fea724a..8308f9f 100644 --- a/config.jsonc +++ b/config.jsonc @@ -67,7 +67,7 @@ "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canReadText": {"guest": 0, "member": 0, "staff": 1, "admin": 1}, "canRemoveItems": {"admin": true}, - "canRemoveDocuments": {"staff": true, "admin": true}, + "canRemoveDocuments": {"staff": false, "admin": true}, "canSeeAccessed": {"staff": true, "admin": true}, "canSeeAllTasks": {"staff": true, "admin": true}, "canSeeDebugMenu": {"staff": true, "admin": true}, @@ -1244,7 +1244,7 @@ "footer": "-- https://leftove.rs/", "prefix": "leftove.rs news -", // E-mail address uses by the system (from) - "system": "system@maydayrooms.org" + "system": "system@leftove.rs" }, "https": true, "id": "leftovers", diff --git a/static/js/documentInfoView.leftovers.js b/static/js/documentInfoView.leftovers.js index 3f7b135..68f96b9 100644 --- a/static/js/documentInfoView.leftovers.js +++ b/static/js/documentInfoView.leftovers.js @@ -116,7 +116,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { element: '', }) .attr({ - src: '/documents/' + data.id + '/512p.jpg?' + data.modified + src: pandora.site.site.mediaprefix + '/documents/' + data.id + '/512p.jpg?' + data.modified }) .css({ position: 'absolute',