diff --git a/html/func.go b/html/func.go index 63995c9e..d21c96fb 100644 --- a/html/func.go +++ b/html/func.go @@ -61,6 +61,10 @@ func bigNumber(n int) string { } func displayUploadStatus(s string) string { switch s { + case "committed": + return "committed" + case "discarded": + return "Discarded" case "error": return "Bad upload" case "parsed": diff --git a/html/template/sync/pool-list.html b/html/template/sync/pool-list.html deleted file mode 100644 index 0f7b71c4..00000000 --- a/html/template/sync/pool-list.html +++ /dev/null @@ -1,58 +0,0 @@ -{{ template "sync/layout/authenticated.html" . }} - -{{ define "title" }}Pool List{{ end }} -{{ define "extraheader" }} - -{{ end }} -{{ define "content" }} -
| Status | -Uploaded | -
|---|---|
| {{ .Status }} | -{{ .Created|timeRelative }} | -