From 494e5b16cea4352f726a22baae0664e776254808 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sat, 7 Dec 2024 22:59:16 -0500 Subject: [PATCH] rename case-list twig template to list-cases to be more consistent with other templates --- templates/internal/cases/case-list.html.twig | 45 -------- templates/internal/cases/list-cases.html.twig | 104 ++++++++++++++++++ 2 files changed, 104 insertions(+), 45 deletions(-) delete mode 100644 templates/internal/cases/case-list.html.twig create mode 100644 templates/internal/cases/list-cases.html.twig diff --git a/templates/internal/cases/case-list.html.twig b/templates/internal/cases/case-list.html.twig deleted file mode 100644 index 30a45d5..0000000 --- a/templates/internal/cases/case-list.html.twig +++ /dev/null @@ -1,45 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} - {{ block('nav', 'internal/libs/nav.html.twig') }} - -
- {{ block('topnav', 'internal/libs/top-nav.html.twig') }} - -
-
-
-
-
-
-
-
Case List
-
-
- -
-
-
-
-
- - - - - - - - - - - - -
NameCase #Referral #Hours RemEnd Date
-
-
-
-
-
-
-
-{% endblock %} diff --git a/templates/internal/cases/list-cases.html.twig b/templates/internal/cases/list-cases.html.twig new file mode 100644 index 0000000..8a9b35a --- /dev/null +++ b/templates/internal/cases/list-cases.html.twig @@ -0,0 +1,104 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+
+
+
+
+
+
+
Case List
+
+
+ +
+
+
+
+
+ Filters: + +
+
+ + + + + + + + + + + + + + {% for c in cases %} + + + + + + + + + + + + + {% endfor %} + +
NameCase #DCS Case IDType/SourceCountyCase Worker
+
+
+
{{ c.caseName }}
+
+
+
+

{{ c.caseNumber }}

+
+

{{ c.dcsCaseId }}

+
+

+ {{ c.referralType }}/{{ c.referralSource.name }}
+ {{ c.referralSource.email }} +

+
+

{{ c.county.value }}

+
+

+ {% if c.userCases|length > 0 %} + {{ c.userCases.0.user.name }} + {% endif %} +

+
+ + edit + + + person_add + + + create_new_folder + + + person_add + +
+
+
+
+
+
{% endblock %}