From 6c1545a2e9a6e2029714baabc1987149e086725b Mon Sep 17 00:00:00 2001
From: Wesley B <62723358+wesleyboar@users.noreply.github.com>
Date: Fri, 5 Jan 2024 18:18:26 -0600
Subject: [PATCH] test(demdata): irregular-links via core-styles (#259)
* test(ecep): irregular-links via core-styles
* Revert "test(ecep): irregular-links via core-styles"
This reverts commit 2b3c96e37c940e9edd78ff271f4ebe8c9b19fa12.
* test(demdata): CMS v4+
* test(demdata): irregular-links via core-styles
* fix(demdata): irregular-links via core-styles
---
demdata_cms/Dockerfile | 4 +--
.../demdata_cms/templates/assets_custom.html | 1 -
.../demdata_cms/templates/fullwidth.html | 2 ++
.../from-ecep-cms/site-css-links.html | 28 -------------------
.../demdata_cms/templates/standard.html | 2 ++
5 files changed, 6 insertions(+), 31 deletions(-)
delete mode 100644 demdata_cms/src/taccsite_custom/demdata_cms/templates/snippets/from-ecep-cms/site-css-links.html
diff --git a/demdata_cms/Dockerfile b/demdata_cms/Dockerfile
index 09e63639..6cb853e0 100644
--- a/demdata_cms/Dockerfile
+++ b/demdata_cms/Dockerfile
@@ -1,5 +1,5 @@
-# TACC/Core-CMS#v3.12.0-beta.2
-FROM taccwma/core-cms:55db2ed
+# TACC/Core-CMS#782 (v4.4.0+)
+FROM taccwma/core-cms:c82d56f
WORKDIR /code
diff --git a/demdata_cms/src/taccsite_custom/demdata_cms/templates/assets_custom.html b/demdata_cms/src/taccsite_custom/demdata_cms/templates/assets_custom.html
index 2270171c..f57e131f 100644
--- a/demdata_cms/src/taccsite_custom/demdata_cms/templates/assets_custom.html
+++ b/demdata_cms/src/taccsite_custom/demdata_cms/templates/assets_custom.html
@@ -2,7 +2,6 @@
-{% include './snippets/from-ecep-cms/site-css-links.html' %}
{% include './snippets/from-tup-cms/css-elements-monospace.html' %}
{% include './snippets/from-tup-cms/css-elements-address.html' %}
{% include './snippets/from-tup-cms/css-elements-body.html' %}
diff --git a/demdata_cms/src/taccsite_custom/demdata_cms/templates/fullwidth.html b/demdata_cms/src/taccsite_custom/demdata_cms/templates/fullwidth.html
index c0f92047..002d4b85 100644
--- a/demdata_cms/src/taccsite_custom/demdata_cms/templates/fullwidth.html
+++ b/demdata_cms/src/taccsite_custom/demdata_cms/templates/fullwidth.html
@@ -1,6 +1,8 @@
{% extends "fullwidth.html" %}
{% load cms_tags %}
+{% block page_type_class %}s-irregular-links{% endblock page_type_class %}
+
{% block assets_custom %}
{{ block.super }}
diff --git a/demdata_cms/src/taccsite_custom/demdata_cms/templates/snippets/from-ecep-cms/site-css-links.html b/demdata_cms/src/taccsite_custom/demdata_cms/templates/snippets/from-ecep-cms/site-css-links.html
deleted file mode 100644
index 831b52f0..00000000
--- a/demdata_cms/src/taccsite_custom/demdata_cms/templates/snippets/from-ecep-cms/site-css-links.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{# https://github.com/TACC/Core-Styles/blob/511c870/src/lib/_imports/trumps/s-irregular-links.css #}
-{# https://github.com/TACC/Core-Styles/blob/511c870/src/lib/_imports/tools/x-link.css #}
-
diff --git a/demdata_cms/src/taccsite_custom/demdata_cms/templates/standard.html b/demdata_cms/src/taccsite_custom/demdata_cms/templates/standard.html
index f1cf9e22..0f05d175 100644
--- a/demdata_cms/src/taccsite_custom/demdata_cms/templates/standard.html
+++ b/demdata_cms/src/taccsite_custom/demdata_cms/templates/standard.html
@@ -1,6 +1,8 @@
{% extends "standard.html" %}
{% load cms_tags %}
+{% block page_type_class %}s-irregular-links{% endblock page_type_class %}
+
{% block assets_custom %}
{{ block.super }}