Adds link to all reports.
This commit is contained in:
		
							parent
							
								
									f0868a896b
								
							
						
					
					
						commit
						c8e21b8011
					
				
					 2 changed files with 28 additions and 0 deletions
				
			
		|  | @ -164,6 +164,13 @@ | |||
|                   to put this toward other purchases, or to refund it.</p> | ||||
|               {% endif %} | ||||
|             {% endif %} | ||||
| 
 | ||||
|           {% if user.is_staff %} | ||||
|             <h4>Registration reports</h4> | ||||
| 
 | ||||
|             <p><a href="{% url "reports_list" %}">View available reports</a>. | ||||
|             </p> | ||||
|           {% endif %} | ||||
|           </div> | ||||
|     </div> | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										21
									
								
								pinaxcon/templates/registrasion/reports_list.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								pinaxcon/templates/registrasion/reports_list.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | |||
| {% extends "site_base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| {% block body %} | ||||
| 
 | ||||
| <h2>Registration reports</h2> | ||||
| 
 | ||||
| <table class="table table-striped"> | ||||
|   {% for report in reports %} | ||||
|     <tr> | ||||
|       <td> | ||||
|         <a href="{{ report.url }}">{{ report.name }}</a> | ||||
|       </td> | ||||
|       <td> | ||||
|         {{ report.description }} | ||||
|       </td> | ||||
|     </tr> | ||||
|   {% endfor %} | ||||
| </table> | ||||
| 
 | ||||
| {% endblock %} | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer