Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission old /leadership page template (Fixes #15135) #15183

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bedrock/cms/cms_only_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# urlconf is only use with reverse(), never resolve()


# from django.urls import path
from django.urls import path


def dummy_view(*args, **kwargs):
Expand All @@ -25,5 +25,6 @@ def dummy_view(*args, **kwargs):

urlpatterns = (
# pattern is:
# path("url/path/here", dummy_view, name="route.name.here")
# path("url/path/here/", dummy_view, name="route.name.here"),
path("about/leadership/", dummy_view, name="mozorg.about.leadership.index"),
)
2 changes: 1 addition & 1 deletion bedrock/mozorg/blocks/leadership.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class LeadershipBioBlock(blocks.StructBlock):

class Meta:
value_class = LeadershipBioID
template = "mozorg/about/leadership/blocks/leadership_block.html"
template = "mozorg/cms/about/blocks/leadership_block.html"
icon = "user"
label = "Leadership Profile"

Expand Down
56 changes: 0 additions & 56 deletions bedrock/mozorg/templates/mozorg/about/leadership/base.html

This file was deleted.

This file was deleted.

Loading