From c63bccaacc6118c613183f33b7cfcc4c705caf04 2024-02-02 01:48:48 From: Ben Sturmfels Date: 2024-02-02 01:48:48 Subject: [PATCH] usethesource: Add placeholder for CCIRT process --- diff --git a/conservancy/usethesource/templates/usethesource/ccirt_process.html b/conservancy/usethesource/templates/usethesource/ccirt_process.html new file mode 100644 index 0000000000000000000000000000000000000000..e5c4326c7503c8f2434a588214e63bfa9749a023 --- /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 0eb550c314237ecc322323f7399edeaafee8c138..ba7e3833beec36534905c606ba40773c5a383b56 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 0cdf0816be5da7bd859220fb0babd2427daa9578..33158f78d42b9ab14715592b326bf793dbd6fa6f 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', {})