Changeset - c63bccaacc61
[Not reviewed]
0 2 1
Ben Sturmfels (bsturmfels) - 2 months ago 2024-02-02 01:48:48
ben@sturm.com.au
usethesource: Add placeholder for CCIRT process
3 files changed with 15 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy/usethesource/templates/usethesource/ccirt_process.html
Show inline comments
 
new file 100644
 
{% extends "usethesource/base.html" %}
 

	
 
{% block title %}Use the Source - Software Freedom Conservancy{% endblock %}
 

	
 
{% block content %}
 
  {{ block.super }}
 

	
 
  <h1>CCIRT Process</h1>
 

	
 
{% endblock content %}
conservancy/usethesource/urls.py
Show inline comments
...
 
@@ -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'),
 
]
conservancy/usethesource/views.py
Show inline comments
...
 
@@ -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', {})
0 comments (0 inline, 0 general)