diff --git a/pretalx_musicrate/static/pretalx_musicrate/submission_filter.js b/pretalx_musicrate/static/pretalx_musicrate/submission_filter.js
index 18b7d4d..fda7358 100644
--- a/pretalx_musicrate/static/pretalx_musicrate/submission_filter.js
+++ b/pretalx_musicrate/static/pretalx_musicrate/submission_filter.js
@@ -1,11 +1,14 @@
-document.addEventListener("DOMContentLoaded", function() {
- const updateRequireAllVisibility = () => {
- if (document.querySelector("#id_tags").value) {
- document.querySelector("#requireAll").classList.remove("d-none")
- } else {
- document.querySelector("#requireAll").classList.add("d-none")
+onReady(() => {
+ const updateRequireAllVisibility = () => {
+ if (document.querySelector("#id_tags").value) {
+ document.querySelector("#requireAll").classList.remove("d-none")
+ } else {
+ document.querySelector("#requireAll").classList.add("d-none")
+ }
}
- }
- $("#id_tags").on("change", updateRequireAllVisibility)
- updateRequireAllVisibility()
+
+ document
+ .querySelector("#id_tags")
+ .addEventListener("change", updateRequireAllVisibility)
+ updateRequireAllVisibility()
})
diff --git a/pretalx_musicrate/templates/pretalx_musicrate/assignee.html b/pretalx_musicrate/templates/pretalx_musicrate/assignee.html
index aa1bcec..f6de955 100644
--- a/pretalx_musicrate/templates/pretalx_musicrate/assignee.html
+++ b/pretalx_musicrate/templates/pretalx_musicrate/assignee.html
@@ -1,22 +1,8 @@
{% extends "orga/base.html" %}
-{% load bootstrap4 %}
{% load i18n %}
{% block content %}
{% blocktranslate with title=submission.title %}Assignee for {{ quotation_open }}{{ title }}{{ quotation_close }}{% endblocktranslate %}
-
+ {% include "orga/includes/base_form.html" %}
{% endblock %}
diff --git a/pretalx_musicrate/templates/pretalx_musicrate/enhanced_list.html b/pretalx_musicrate/templates/pretalx_musicrate/enhanced_list.html
index d90b5af..5e65242 100644
--- a/pretalx_musicrate/templates/pretalx_musicrate/enhanced_list.html
+++ b/pretalx_musicrate/templates/pretalx_musicrate/enhanced_list.html
@@ -1,17 +1,37 @@
{% extends "orga/base.html" %}
-{% load bootstrap4 %}
{% load compress %}
{% load i18n %}
{% load rules %}
{% load static %}
-{% load url_replace %}
{% block scripts %}
{% compress js %}
-
+
{% endcompress %}
{% compress js %}
-
+
+ {% endcompress %}
+{% endblock %}
+
+{% block stylesheets %}
+ {% compress css %}
+
{% endcompress %}
{% endblock %}
@@ -29,20 +49,26 @@
{% if filter_form.is_valid and filter_form.cleaned_data.question %}
@@ -51,7 +77,7 @@
{% blocktranslate trimmed with question=filter_form.cleaned_data.question.question %}
List filtered by answers to question "{{ question }}".
{% endblocktranslate %}
-
+
{% translate "Remove filter" %}
@@ -65,13 +91,13 @@
{% translate "Rating" %}
-
-
+
+
|
{% translate "Title" %}
-
-
+
+
|
{% if show_submission_types %}
@@ -80,13 +106,13 @@
{% endif %}
|
{% translate "State" %}
-
-
+
+
|
{% translate "Assignee" %}
-
-
+
+
|
{% if can_change_submission %}
|
diff --git a/pretalx_musicrate/templates/pretalx_musicrate/settings.html b/pretalx_musicrate/templates/pretalx_musicrate/settings.html
index a04ef8f..2ad8452 100644
--- a/pretalx_musicrate/templates/pretalx_musicrate/settings.html
+++ b/pretalx_musicrate/templates/pretalx_musicrate/settings.html
@@ -1,29 +1,11 @@
{% extends "orga/base.html" %}
-{% load bootstrap4 %}
{% load compress %}
{% load i18n %}
{% load static %}
{% block content %}
{% translate "pretalx-musicrate settings" %}
-
+ {% include "orga/includes/base_form.html" %}