diff options
author | Julian T <julian@jtle.dk> | 2020-09-10 22:54:37 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-09-10 22:54:37 +0200 |
commit | b36aaeaac878b6a3d8351d4a941af5cc93341dd3 (patch) | |
tree | b3deab6b0a07abf65b918c837e386033cfe6a110 /root.template | |
parent | f400c4c9b01e572ed65f133cb3c489c2a150e4ee (diff) |
Added file upload
Diffstat (limited to 'root.template')
-rw-r--r-- | root.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/root.template b/root.template index e4f5104..74fbc0c 100644 --- a/root.template +++ b/root.template @@ -116,11 +116,16 @@ <tr> <th>Ref</th> <th>Navn</th> + <th>Files</th> </tr> {{ range .Notes }} <tr> <td style="font-family: monospace;">#{{ .Hash }}/{{ .Location }}</td> <td>{{ .Name }}</td> + {{ $files := index $.Files .Hash }} + <td>{{ range $i, $f := $files }} + <a href="/data/{{$f}}">[{{ $i }}] </a> + {{ end }}</td> </tr> {{ end }} </table> |