Skip to content

Commit

Permalink
Revert "Revert "Hide the DOAJ at 20 route for the time being""
Browse files Browse the repository at this point in the history
This reverts commit 9cea3bd.
  • Loading branch information
Steven-Eardley committed Apr 11, 2023
1 parent 595794a commit bf4e967
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cms/data/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ entries:
entries:
- label: About DOAJ
route: doaj.about # ~~->About:WebRoute~~
- label: DOAJ at 20
route: doaj.at_20 # ~~->At20:WebRoute~~
# - label: DOAJ at 20
# route: doaj.at_20 # ~~->At20:WebRoute~~
- label: DOAJ team
route: doaj.team # ~~->Team:WebRoute~~
- label: Ambassadors
Expand Down
9 changes: 6 additions & 3 deletions portality/view/doaj.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,12 @@ def faq():
def about():
return render_template("layouts/static_page.html", page_frag="/about/index.html")

@blueprint.route("/at-20/")
def at_20():
return render_template("layouts/static_page.html", page_frag="/about/at-20.html")

# TODO: Uncomment when ready for public access - S.E. 2023-03-09
# @blueprint.route("/at-20/")
# def at_20():
# return render_template("layouts/static_page.html", page_frag="/about/at-20.html")


@blueprint.route("/about/ambassadors/")
def ambassadors():
Expand Down

0 comments on commit bf4e967

Please sign in to comment.