diff --git a/internal/server/admin.go b/internal/server/admin.go index 9e71ca1..d316826 100644 --- a/internal/server/admin.go +++ b/internal/server/admin.go @@ -144,9 +144,9 @@ func (s *Server) handleFiles(w http.ResponseWriter, r *http.Request) { } slices.SortStableFunc(objects, adminSorts[sortBy]) - title := "Your files" + title := "My files" if lim.Admin { - title = "All files" + title = "Administration" } // s.page resolves the session cookie, which is the right thing for the // header but not for this body: the page has to describe the credential it diff --git a/web/templates/files.html b/web/templates/files.html index 6bee912..9c35dff 100644 --- a/web/templates/files.html +++ b/web/templates/files.html @@ -17,7 +17,7 @@ {{else}}
-

{{if .Admin}}All files{{else}}Your files{{end}}

+

{{if .Admin}}Administration{{else}}My files{{end}}

Files
{{.Count}}{{if .Anonymous}} ({{.Anonymous}} anonymous){{end}}
{{if .Admin}} diff --git a/web/templates/layout.html b/web/templates/layout.html index 57d3bac..acc4520 100644 --- a/web/templates/layout.html +++ b/web/templates/layout.html @@ -12,7 +12,7 @@ Uncensored Send