1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Add link for view/raw/list

Former-commit-id: 288ff9cd595b174372f32c928082cea7d7983fe3 [formerly c40384353290006486b9c7f9c94f07f7b0378a6c] [formerly c79385490b081fa4878526f946dc6861b428829d [formerly c4906b78767ae66904d8dd1e3ee53351797d20ad]]
Former-commit-id: 9691087d6cf38d30829d0b9d5e9af9e2469607d1 [formerly 781213c951e51a1d3fe61421b0526329e84d4eb8]
Former-commit-id: f933ace45d149daed95cb00b19abf4f1f418ec87
Former-commit-id: 41666f1238
This commit is contained in:
Zack Scholl 2017-03-23 10:57:14 -06:00
parent e9e513171c
commit 90faae9e85

View File

@ -383,7 +383,7 @@
{{ if .HistoryPage }} {{ if .HistoryPage }}
<ul> <ul>
{{range $i, $e := .Versions}} {{range $i, $e := .Versions}}
<li><a href="/{{ $.Page }}/view?version={{$e}}">Version {{index $.VersionsText $i}}</a></li> <li>Version {{index $.VersionsText $i}}&nbsp;&nbsp;<a href="/{{ $.Page }}/view?version={{$e}}">View</a>&nbsp;&nbsp;<a href="/{{ $.Page }}/list?version={{$e}}">List</a>&nbsp;&nbsp;<a href="/{{ $.Page }}/raw?version={{$e}}">Raw</a></li>
{{end}} {{end}}
</ul> </ul>
{{ end }} {{ end }}