diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-16 13:48:47 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-05-16 13:48:47 -0700 |
commit | 66c3ad778ccf54566086d535a6ebe4805bf4241f (patch) | |
tree | 204fd9ef902cc0619584084a71e9df4184cd9bac /system/admin/handlers.go | |
parent | cc0f76554f2bc9bb9fa4f3580c832e4c87b7f44b (diff) |
remove csv download button from search result page
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 6cd840d..babcff1 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -2545,14 +2545,6 @@ func searchHandler(res http.ResponseWriter, req *http.Request) { New ` + t + ` </a>` - if _, ok := post.(format.CSVFormattable); ok { - btn += `<br/> - <a href="/admin/contents/export?type=` + t + `&format=csv" class="green darken-4 btn export-post waves-effect waves-light"> - <i class="material-icons left">system_update_alt</i> - CSV - </a>` - } - html += b.String() + script + btn + `</div></div>` adminView, err := Admin([]byte(html)) |