summaryrefslogtreecommitdiff
path: root/templates/search.html
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst92@gmail.com>2021-07-08 12:54:05 +0200
committerJulian Hurst <julian.hurst92@gmail.com>2021-07-08 12:54:05 +0200
commit513b1f4d83d8267f9b8c7299822c40e9d4d77196 (patch)
treea2b6d0f1c74bf2a8741977beb7c27bdf0380b10b /templates/search.html
parent124be83ec299a4b9502a469cef75b7b9fe971756 (diff)
downloadgrimtube-513b1f4d83d8267f9b8c7299822c40e9d4d77196.tar.gz
Add video download server support
Diffstat (limited to 'templates/search.html')
-rw-r--r--templates/search.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/search.html b/templates/search.html
index 8cbf200..e5cff9a 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -41,6 +41,11 @@
<td>
{{.LengthText}}
</td>
+ {{if ne $.Dlsrv ""}}
+ <td>
+ <a href="{{$.Dlsrv}}{{.Url}}">Download</a>
+ </td>
+ {{end}}
</tr>
{{end}}
</table>