Skip to content

Commit

Permalink
Decommission old /leadership page template (Fixes #15135) (#15183)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored Oct 1, 2024
1 parent 2df9c9b commit 99dc133
Show file tree
Hide file tree
Showing 109 changed files with 21 additions and 2,418 deletions.
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.

877 changes: 0 additions & 877 deletions bedrock/mozorg/templates/mozorg/about/leadership/includes/boards.html

This file was deleted.

Loading

0 comments on commit 99dc133

Please sign in to comment.