From 01a071962d40aa868ce7857880c1b63a9ef1e486 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 28 Feb 2024 09:54:08 -0500 Subject: [PATCH] feat: Add Announcements link to nomcom home page (#7053) * feat: Add Announcements link to nomcom home page * refactor: Move announcements link to top of page, outside nomcom_content * refactor: Don't code URL path into template --- ietf/templates/nomcom/nomcom_public_base.html | 3 ++- ietf/templates/nomcom/year_index.html | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ietf/templates/nomcom/nomcom_public_base.html b/ietf/templates/nomcom/nomcom_public_base.html index f2448c9ee..8c5fa1698 100644 --- a/ietf/templates/nomcom/nomcom_public_base.html +++ b/ietf/templates/nomcom/nomcom_public_base.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{# Copyright The IETF Trust 2015, All Rights Reserved #} +{# Copyright The IETF Trust 2015-2024, All Rights Reserved #} {% load origin static %} {% load nomcom_tags %} {% load ietf_filters %} @@ -12,6 +12,7 @@ {% endblock %} {% block content %} {% origin %} + {% block nomcom_announce %}{% endblock %} {% with selected=request.path|split:'/'|slice:'3:-1'|join:'-' %}

NomCom {{ year }} diff --git a/ietf/templates/nomcom/year_index.html b/ietf/templates/nomcom/year_index.html index 43a03d945..74a8cda9a 100644 --- a/ietf/templates/nomcom/year_index.html +++ b/ietf/templates/nomcom/year_index.html @@ -1,7 +1,13 @@ {% extends "nomcom/nomcom_public_base.html" %} -{# Copyright The IETF Trust 2015, All Rights Reserved #} +{# Copyright The IETF Trust 2015-2024, All Rights Reserved #} {% load origin %} {% block subtitle %}- Home{% endblock %} +{% block nomcom_announce %} +

+ Announcements from this nomcom are available + here +

+{% endblock %} {% block nomcom_content %} {% origin %}