From c63bccaacc6118c613183f33b7cfcc4c705caf04 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Fri, 2 Feb 2024 12:48:48 +1100 Subject: [PATCH] usethesource: Add placeholder for CCIRT process --- .../templates/usethesource/ccirt_process.html | 10 ++++++++++ conservancy/usethesource/urls.py | 1 + conservancy/usethesource/views.py | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 conservancy/usethesource/templates/usethesource/ccirt_process.html diff --git a/conservancy/usethesource/templates/usethesource/ccirt_process.html b/conservancy/usethesource/templates/usethesource/ccirt_process.html new file mode 100644 index 00000000..e5c4326c --- /dev/null +++ b/conservancy/usethesource/templates/usethesource/ccirt_process.html @@ -0,0 +1,10 @@ +{% extends "usethesource/base.html" %} + +{% block title %}Use the Source - Software Freedom Conservancy{% endblock %} + +{% block content %} + {{ block.super }} + +

CCIRT Process

+ +{% endblock content %} diff --git a/conservancy/usethesource/urls.py b/conservancy/usethesource/urls.py index 0eb550c3..ba7e3833 100644 --- a/conservancy/usethesource/urls.py +++ b/conservancy/usethesource/urls.py @@ -12,4 +12,5 @@ urlpatterns = [ path('comment///', views.view_comment, name='view_comment'), path('delete-comment///', views.delete_comment, name='delete_comment'), path('add-button//', views.add_button, name='add_button'), + path('ccirt-process/', views.ccirt_process, name='ccirt_process'), ] diff --git a/conservancy/usethesource/views.py b/conservancy/usethesource/views.py index 0cdf0816..33158f78 100644 --- a/conservancy/usethesource/views.py +++ b/conservancy/usethesource/views.py @@ -80,3 +80,7 @@ def delete_comment(request, comment_id, show_add): def add_button(request, slug): candidate = get_object_or_404(Candidate, slug=slug) return render(request, 'usethesource/add_comment_button_partial.html', {'candidate': candidate}) + + +def ccirt_process(request): + return render(request, 'usethesource/ccirt_process.html', {})