usethesource: Add placeholder for CCIRT process
This commit is contained in:
		
							parent
							
								
									fc9c562900
								
							
						
					
					
						commit
						c63bccaacc
					
				
					 3 changed files with 15 additions and 0 deletions
				
			
		|  | @ -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 %} | ||||||
|  | @ -12,4 +12,5 @@ urlpatterns = [ | ||||||
|     path('comment/<int:comment_id>/<show_add>/', views.view_comment, name='view_comment'), |     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('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('add-button/<slug:slug>/', views.add_button, name='add_button'), | ||||||
|  |     path('ccirt-process/', views.ccirt_process, name='ccirt_process'), | ||||||
| ] | ] | ||||||
|  |  | ||||||
|  | @ -80,3 +80,7 @@ def delete_comment(request, comment_id, show_add): | ||||||
| def add_button(request, slug): | def add_button(request, slug): | ||||||
|     candidate = get_object_or_404(Candidate, slug=slug) |     candidate = get_object_or_404(Candidate, slug=slug) | ||||||
|     return render(request, 'usethesource/add_comment_button_partial.html', {'candidate': candidate}) |     return render(request, 'usethesource/add_comment_button_partial.html', {'candidate': candidate}) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | def ccirt_process(request): | ||||||
|  |     return render(request, 'usethesource/ccirt_process.html', {}) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue