usethesource: Add placeholder for CCIRT process

This commit is contained in:
Ben Sturmfels 2024-02-02 12:48:48 +11:00
parent fc9c562900
commit c63bccaacc
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{% extends "usethesource/base.html" %}
{% block title %}Use the Source - Software Freedom Conservancy{% endblock %}
{% block content %}
{{ block.super }}
<h1>CCIRT Process</h1>
{% endblock content %}

View file

@ -12,4 +12,5 @@ urlpatterns = [
path('comment/<int:comment_id>/<show_add>/', views.view_comment, name='view_comment'),
path('delete-comment/<int:comment_id>/<show_add>/', views.delete_comment, name='delete_comment'),
path('add-button/<slug:slug>/', views.add_button, name='add_button'),
path('ccirt-process/', views.ccirt_process, name='ccirt_process'),
]

View file

@ -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', {})