Remove unused partials loading from various template files

This commit is contained in:
Ross
2026-01-26 12:43:11 +00:00
parent d070adc326
commit a667566db6
15 changed files with 15 additions and 28 deletions
@@ -1,5 +1,5 @@
{% extends 'anatomy/base.html' %}
{% load partials %}
{% block content %}
{% load static %}
{% include 'anatomy/question_link_header.html' %}
@@ -1,4 +1,3 @@
{% load partials %}
{% partialdef case-series %}
{% for series in case.get_ordered_series %}
@@ -1,6 +1,5 @@
{% extends 'atlas/exams.html' %}
{% load partials %}
{% partialdef casedetails-management-links %}
@@ -1,7 +1,6 @@
<!-- filepath: /home/ross/rad/rad/atlas/templates/atlas/linked_cases_overview.html -->
{% extends "base.html" %}
{% load partials %}
{% block content %}
@@ -1,4 +1,3 @@
{% load partials %}
{% comment %} Minimal fragment rendering the exam-list partialdef for HTMX swaps. {% endcomment %}
{% with exams=exams app_name=app_name marking=marking collection=collection %}
@@ -1,4 +1,3 @@
{% load partials %}
{% partialdef publish-results %}
<div class="exam-status-container d-flex align-items-center gap-2">
-1
View File
@@ -85,7 +85,6 @@ INSTALLED_APPS = [
'django_jsonforms',
'django_svelte_jsoneditor',
'django_psutil_dash',
'template_partials',
]
+2 -2
View File
@@ -1,5 +1,5 @@
#Django==3.2.13
Django==5.2.7
Django==6.0.1
django_debug_toolbar
django_jquery
django_reversion
@@ -52,7 +52,7 @@ git+https://github.com/xkjq/django-jsonforms.git@bump-json-editor-lib
django_svelte_jsoneditor
psutil
django-psutil-dash
django-template-partials
easy_thumbnails
requests
pygments
-2
View File
@@ -1,7 +1,5 @@
{% extends 'sbas/base.html' %}
{% load partials %}
{% partialdef links-partial %}
<div class="btn-group mt-3 mt-md-0" role="group" aria-label="Actions">
+1 -1
View File
@@ -1,7 +1,7 @@
{% extends 'sbas/base.html' %}
{% load static %}
{% load partials %}
{% load crispy_forms_tags %}
{% block js %}
@@ -1,7 +1,5 @@
{% extends 'sbas/base.html' %}
{% load partials %}
{% block content %}
<h2>Filtered questions</h2>
@@ -1,7 +1,5 @@
{% extends 'sbas/base.html' %}
{% load partials %}
{% block content %}
<h2>Review Questions</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% load partials %}
{% partialdef viewer %}
<div style="height: 100vh; width: 95%, mangin: 0; padding: 0; overflow: hidden;">
+1 -1
View File
@@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% load partials %}
{% partialdef login-block %}
Logging in here allows your account to be linked with CIMAR. You may periodically need to re-login to keep the link active.
-1
View File
@@ -1,6 +1,5 @@
{% extends app_name|add:'/base.html' %}
{% load partials %}
{% partialdef exam-list %}
<ul class="exam-list exam-list-active">