Adds view as CSV button.
This commit is contained in:
		
							parent
							
								
									737db640aa
								
							
						
					
					
						commit
						286304157d
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -16,7 +16,13 @@ | ||||||
| <hr /> | <hr /> | ||||||
| 
 | 
 | ||||||
| {% for report in reports %} | {% for report in reports %} | ||||||
|  | 
 | ||||||
|  |   <div class="btn-group pull-right"> | ||||||
|  |     <a class="btn btn-default" href="{% report_as_csv forloop.counter0 %}">View as CSV</a> | ||||||
|  |   </div> | ||||||
|  | 
 | ||||||
|   <h3>{{ report.title }}</h3> |   <h3>{{ report.title }}</h3> | ||||||
|  | 
 | ||||||
|   <table class="table table-striped"> |   <table class="table table-striped"> | ||||||
|     <tr> |     <tr> | ||||||
|       {% for heading in report.headings %} |       {% for heading in report.headings %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer