no need for separate csv link template
This commit is contained in:
		| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-hover nd_floatinghead"> | <table class="table table-bordered table-condensed table-hover nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,4 +1,3 @@ | |||||||
| [% INCLUDE "download_as.tt" %] |  | ||||||
| <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | <table class="table table-bordered table-condensed table-striped nd_floatinghead"> | ||||||
|   <thead> |   <thead> | ||||||
|     <tr> |     <tr> | ||||||
|   | |||||||
| @@ -1,8 +0,0 @@ | |||||||
| [% myuri = request.uri %] |  | ||||||
| [% UNLESS myuri.match('/report') %] |  | ||||||
|     [% myuri = myuri.remove('/ajax/content/') %] |  | ||||||
| [% END %] |  | ||||||
| <div> |  | ||||||
|   <p class="text-right">Download as: <a href="[% myuri %]&format=csv">CSV</a></p> |  | ||||||
| </div> |  | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user