Skip to content

Commit

Permalink
fix: support old snippets so no need rush fix prod
Browse files Browse the repository at this point in the history
Without this trick[^1], VM servers would need to be updated to avoid broken snippets.

Rush change prod, bad. Backwards-compatibility, better.

[^1]: https://github.com/TACC/Core-CMS-Custom/blob/8e62799/docs/port-project.md#old-custom-templates-directory
  • Loading branch information
wesleyboar committed Aug 29, 2023
1 parent fc78e20 commit d201227
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "ecep_cms/templates/snippets/page-members-css-old.html" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "ecep_cms/templates/snippets/page-members-css.html" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "ecep_cms/templates/snippets/page-members-js-old.html" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "ecep_cms/templates/snippets/page-members-js.html" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "ecep_cms/templates/snippets/site-css.html" %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{% load static %}

{# TODO: FP-1487: Move this to a templates/*.html that extends a site_cms one #}
<link rel="stylesheet" href="{% static 'ecep_cms/css/site.css' %}">

0 comments on commit d201227

Please sign in to comment.