From 027bad8aeb545149a9bebc6f39aa00d113d49c08 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 4 Sep 2022 01:42:59 +0200 Subject: [PATCH] dudup popover --- files/templates/comments.html | 43 +------------------------ files/templates/popover.html | 42 ++++++++++++++++++++++++ files/templates/submission_listing.html | 43 +------------------------ 3 files changed, 44 insertions(+), 84 deletions(-) create mode 100644 files/templates/popover.html diff --git a/files/templates/comments.html b/files/templates/comments.html index bfcac96e5..c01bbfd40 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -12,48 +12,7 @@ {% include "award_modal.html" %} {% endif %} - + {% include "popover.html" %} {% endif %} {% macro single_comment(c, level=1) %} diff --git a/files/templates/popover.html b/files/templates/popover.html new file mode 100644 index 000000000..d6928cce7 --- /dev/null +++ b/files/templates/popover.html @@ -0,0 +1,42 @@ + \ No newline at end of file diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 55018e92f..919c3e123 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -15,48 +15,7 @@ {% endif %} - +{% include "popover.html" %} {% for p in listing if p.can_see(v) %}