diff --git a/views/admin.qtpl b/views/admin.qtpl index 921c1e0..ef68b8e 100644 --- a/views/admin.qtpl +++ b/views/admin.qtpl @@ -42,7 +42,7 @@

{%s lc.Get("admin.users_title") %}

- {%s lc.Get("admin.users_create") %} + {%s lc.Get("admin.users_create") %}
diff --git a/views/admin.qtpl.go b/views/admin.qtpl.go index 4943e80..64de23e 100644 --- a/views/admin.qtpl.go +++ b/views/admin.qtpl.go @@ -144,7 +144,7 @@ func StreamAdminUsersPanelHTML(qw422016 *qt422016.Writer, userList []*user.User, qw422016.N().S(`
- `) + `) //line views/admin.qtpl:45 qw422016.E().S(lc.Get("admin.users_create")) //line views/admin.qtpl:45 diff --git a/web/admin.go b/web/admin.go index 876bbf6..09d517f 100644 --- a/web/admin.go +++ b/web/admin.go @@ -23,7 +23,7 @@ func initAdmin(r *mux.Router) { r.HandleFunc("/shutdown", handlerAdminShutdown).Methods(http.MethodPost) r.HandleFunc("/reindex-users", handlerAdminReindexUsers).Methods(http.MethodPost) - r.HandleFunc("/user/new", handlerAdminUserNew).Methods(http.MethodGet, http.MethodPost) + r.HandleFunc("/new-user", handlerAdminUserNew).Methods(http.MethodGet, http.MethodPost) r.HandleFunc("/users/{username}/edit", handlerAdminUserEdit).Methods(http.MethodGet, http.MethodPost) r.HandleFunc("/users/{username}/delete", handlerAdminUserDelete).Methods(http.MethodGet, http.MethodPost) r.HandleFunc("/users", handlerAdminUsers)