Skip to content

Commit afc324d

Browse files
authored
refactor!: rename neuronex_cms to _3dem_cms (#192)
1 parent b06690b commit afc324d

13 files changed

+50
-10
lines changed
File renamed without changes.

neuronex_cms/settings_custom.py _3dem_cms/settings_custom.py

+13-7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@
1010
########################
1111

1212
CMS_TEMPLATES = (
13-
('neuronex_cms/templates/fullwidth.html', 'Fullwidth'),
13+
('_3dem_cms/templates/fullwidth.html', 'Fullwidth'),
1414
('home_portal.html', 'Standard Portal Homepage'),
1515
('guide.html', 'Guide'),
16-
('guides/getting_started.html', 'Guide: Getting Started'),
17-
('guides/data_transfer.html', 'Guide: Data Transfer'),
18-
('guides/data_transfer.globus.html', 'Guide: Globus Data Transfer'),
19-
('guides/portal_technology.html', 'Guide: Portal Technology Stack')
16+
('_3dem_cms/templates/guides/getting_started.v2.html', 'Guide: Getting Started (v2)'),
17+
('_3dem_cms/templates/guides/getting_started.tam.html', 'Guide: Getting Started (TAM)'),
18+
('_3dem_cms/templates/guides/data_transfer.html', 'Guide: Data Transfer'),
19+
('_3dem_cms/templates/guides/data_transfer.globus.html', 'Guide: Globus Data Transfer'),
20+
# DEPRECATED
21+
('neuronex-cms/templates/fullwidth.html', 'DEPRECATED Fullwidth'),
22+
# CORE-CMS v3.11 (used by 3Dem before it ran on Core-CMS v3.12)
23+
('guides/getting_started.html', 'CORE-CMS Guide: Getting Started'),
24+
('guides/data_transfer.html', 'CORE-CMS Guide: Data Transfer'),
25+
('guides/data_transfer.globus.html', 'CORE-CMS Guide: Globus Data Transfer'),
2026
)
2127

2228
########################
@@ -64,7 +70,7 @@
6470

6571
LOGO = [
6672
"portal",
67-
"neuronex_cms/img/org_logos/logo.3dem.png",
73+
"_3dem_cms/img/org_logos/logo.3dem.png",
6874
"",
6975
"/",
7076
"_self",
@@ -74,5 +80,5 @@
7480
]
7581

7682
FAVICON = {
77-
"img_file_src": "neuronex_cms/img/org_logos/favicon.ico"
83+
"img_file_src": "_3dem_cms/img/org_logos/favicon.ico"
7884
}
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{% load static %}
2+
3+
<!-- To style old CMS content on new CMS -->
4+
<link rel="stylesheet" href="{% static '_3dem_cms/css/build/migrate.v1_v2.css' %}">

neuronex_cms/templates/fullwidth.html _3dem_cms/templates/fullwidth.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@
1313

1414
{% block assets_custom %}
1515
{{ block.super }}
16-
17-
<!-- To style old CMS content on new CMS -->
18-
<link rel="stylesheet" href="{% static 'neuronex_cms/css/build/migrate.v1_v2.css' %}">
16+
{% include "./assets_custom.html" %}
1917
{% endblock assets_custom %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "guides/data_transfer.globus.html" %}
2+
{% load static %}
3+
4+
{% block assets_custom %}
5+
{{ block.super }}
6+
{% include "../assets_custom.html" %}
7+
{% endblock assets_custom %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "guides/data_transfer.html" %}
2+
{% load static %}
3+
4+
{% block assets_custom %}
5+
{{ block.super }}
6+
{% include "../assets_custom.html" %}
7+
{% endblock assets_custom %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "guides/getting_started.tam.html" %}
2+
{% load static %}
3+
4+
{% block assets_custom %}
5+
{{ block.super }}
6+
{% include "../assets_custom.html" %}
7+
{% endblock assets_custom %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "guides/getting_started.v2.html" %}
2+
{% load static %}
3+
4+
{% block assets_custom %}
5+
{{ block.super }}
6+
{% include "../assets_custom.html" %}
7+
{% endblock assets_custom %}

neuronex-cms/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Core-CMS-Resources - Deprecated Templates
2+
3+
See [../docs/upgrade-project.md](../docs/upgrade-project.md).

neuronex-cms/templates/fullwidth.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "_3dem_cms/templates/fullwidth.html" %}

0 commit comments

Comments
 (0)