Merge pull request #1698 from cdw9/1659_reviews

Update URLs pointing to /reviews refs #1659
This commit is contained in:
Chrissy Wainwright
2025-03-18 09:05:26 -05:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -3,8 +3,9 @@ import logging
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path, re_path, register_converter
from django.urls import include, path, re_path, register_converter, reverse_lazy
from django.views.generic import TemplateView
from django.views.generic.base import RedirectView
from rest_framework import routers
from ak.views import (
@@ -328,7 +329,12 @@ urlpatterns = (
),
path(
"review/",
TemplateView.as_view(template_name="review/review_process.html"),
RedirectView.as_view(
url=reverse_lazy(
"docs-user-guide", content_path="formal-reviews/submissions.html"
),
permanent=True,
),
name="review-process",
),
path(

View File

@@ -455,7 +455,7 @@ html.dark {
<div @click.away="guideOpen = false" class="guide-modal boost-drop-shadow hidden" id="guideMenu" x-cloak="" x-show="guideOpen">
<a href="/doc/user-guide/index.html">User Guide</a>
<a href="/doc/contributor-guide/index.html">Contributor Guide</a>
<a href="/review/">Formal Reviews</a>
<a href="{% url 'review-process' %}">Formal Reviews</a>
</div>
</span>
<i class="fas fa-sun icon-link" id="light-dark" onclick="changeTheme()"></i>