// Code generated by qtc from "admin.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line views/admin.qtpl:1 package views //line views/admin.qtpl:1 import "github.com/bouncepaw/mycorrhiza/cfg" //line views/admin.qtpl:2 import "github.com/bouncepaw/mycorrhiza/user" //line views/admin.qtpl:3 import "github.com/bouncepaw/mycorrhiza/util" //line views/admin.qtpl:5 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line views/admin.qtpl:5 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line views/admin.qtpl:5 func StreamAdminPanelHTML(qw422016 *qt422016.Writer) { //line views/admin.qtpl:5 qw422016.N().S(`
| Name | Group | Registered at | |
|---|---|---|---|
| `) //line views/admin.qtpl:62 qw422016.E().S(u.Name) //line views/admin.qtpl:62 qw422016.N().S(` | `) //line views/admin.qtpl:64 qw422016.E().S(u.Group) //line views/admin.qtpl:64 qw422016.N().S(` | `) //line views/admin.qtpl:66 if u.RegisteredAt.IsZero() { //line views/admin.qtpl:66 qw422016.N().S(` unknown `) //line views/admin.qtpl:68 } else { //line views/admin.qtpl:68 qw422016.N().S(` `) //line views/admin.qtpl:69 qw422016.E().S(u.RegisteredAt.UTC().Format("2006-01-02 15:04")) //line views/admin.qtpl:69 qw422016.N().S(` `) //line views/admin.qtpl:70 } //line views/admin.qtpl:70 qw422016.N().S(` | Edit |
This user is authorized using Telegram, they have the same rights as trusted editors. You cannot change their group.
`) //line views/admin.qtpl:147 } else { //line views/admin.qtpl:147 qw422016.N().S(` `) //line views/admin.qtpl:163 } //line views/admin.qtpl:163 qw422016.N().S(`Remove the user from the database. Changes made by the user will be preserved. It will be possible to take this username later.
DeleteAre you sure you want to delete `) //line views/admin.qtpl:185 qw422016.E().S(u.Name) //line views/admin.qtpl:185 qw422016.N().S(` from the database? This action is irreversible.