@@ -129,7 +129,7 @@
{% else %}
- {%= p.T(`No scopes is requested: the application will only get your profile URL.`) %}
+ {%= p.t(`No scopes is requested: the application will only get your profile URL.`) %}
{% endif %}
@@ -173,18 +173,18 @@
name="authorize"
value="deny">
- {%= p.T("Deny") %}
+ {%= p.t("Deny") %}
- {%= p.T("Allow") %}
+ {%= p.t("Allow") %}
- {%= p.T(`You will be redirected to %s%s%s`, ``, p.RedirectURI, `
`) %}
+ {%= p.t(`You will be redirected to %s%s%s`, ``, p.RedirectURI, `
`) %}
diff --git a/web/authorize.qtpl.go b/web/authorize.qtpl.go
index 80548e9..055d637 100644
--- a/web/authorize.qtpl.go
+++ b/web/authorize.qtpl.go
@@ -38,7 +38,7 @@ type AuthorizePage struct {
}
//line web/authorize.qtpl:19
-func (p *AuthorizePage) StreamTitle(qw422016 *qt422016.Writer) {
+func (p *AuthorizePage) streamtitle(qw422016 *qt422016.Writer) {
//line web/authorize.qtpl:19
qw422016.N().S(`
`)
@@ -48,7 +48,7 @@ func (p *AuthorizePage) StreamTitle(qw422016 *qt422016.Writer) {
qw422016.N().S(`
`)
//line web/authorize.qtpl:21
- p.StreamT(qw422016, "Authorize %s", name)
+ p.streamt(qw422016, "Authorize %s", name)
//line web/authorize.qtpl:21
qw422016.N().S(`
`)
@@ -58,7 +58,7 @@ func (p *AuthorizePage) StreamTitle(qw422016 *qt422016.Writer) {
qw422016.N().S(`
`)
//line web/authorize.qtpl:23
- p.StreamT(qw422016, "Authorize application")
+ p.streamt(qw422016, "Authorize application")
//line web/authorize.qtpl:23
qw422016.N().S(`
`)
@@ -71,22 +71,22 @@ func (p *AuthorizePage) StreamTitle(qw422016 *qt422016.Writer) {
}
//line web/authorize.qtpl:25
-func (p *AuthorizePage) WriteTitle(qq422016 qtio422016.Writer) {
+func (p *AuthorizePage) writetitle(qq422016 qtio422016.Writer) {
//line web/authorize.qtpl:25
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/authorize.qtpl:25
- p.StreamTitle(qw422016)
+ p.streamtitle(qw422016)
//line web/authorize.qtpl:25
qt422016.ReleaseWriter(qw422016)
//line web/authorize.qtpl:25
}
//line web/authorize.qtpl:25
-func (p *AuthorizePage) Title() string {
+func (p *AuthorizePage) title() string {
//line web/authorize.qtpl:25
qb422016 := qt422016.AcquireByteBuffer()
//line web/authorize.qtpl:25
- p.WriteTitle(qb422016)
+ p.writetitle(qb422016)
//line web/authorize.qtpl:25
qs422016 := string(qb422016.B)
//line web/authorize.qtpl:25
@@ -97,7 +97,7 @@ func (p *AuthorizePage) Title() string {
}
//line web/authorize.qtpl:27
-func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
+func (p *AuthorizePage) streambody(qw422016 *qt422016.Writer) {
//line web/authorize.qtpl:27
qw422016.N().S(`
@@ -199,7 +199,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:65
- p.StreamT(qw422016, `This client uses %sPKCE%s with the %s%s%s method.`, ``,
+ p.streamt(qw422016, `This client uses %sPKCE%s with the %s%s%s method.`, ``,
` `, ``, p.CodeChallengeMethod, `
`)
//line web/authorize.qtpl:66
qw422016.N().S(`
@@ -217,14 +217,14 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:75
- p.StreamT(qw422016, `This client does not use %sPKCE%s!`, ``, ` `)
+ p.streamt(qw422016, `This client does not use %sPKCE%s!`, ``, ` `)
//line web/authorize.qtpl:75
qw422016.N().S(`
`)
//line web/authorize.qtpl:78
- p.StreamT(qw422016, `%sProof of Key Code Exchange%s is a mechanism that protects against attackers in the middle hijacking `+
+ p.streamt(qw422016, `%sProof of Key Code Exchange%s is a mechanism that protects against attackers in the middle hijacking `+
`your application's authentication process. You can still authorize this application without this protection, `+
`but you must independently verify the security of this connection. If you have any doubts - stop the process `+
` and contact the developers.`, ``, ` `)
@@ -301,7 +301,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:115
- p.StreamT(qw422016, "Scopes")
+ p.streamt(qw422016, "Scopes")
//line web/authorize.qtpl:115
qw422016.N().S(`
@@ -342,7 +342,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:132
- p.StreamT(qw422016, `No scopes is requested: the application will only get your profile URL.`)
+ p.streamt(qw422016, `No scopes is requested: the application will only get your profile URL.`)
//line web/authorize.qtpl:132
qw422016.N().S(`
@@ -466,7 +466,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:176
- p.StreamT(qw422016, "Deny")
+ p.streamt(qw422016, "Deny")
//line web/authorize.qtpl:176
qw422016.N().S(`
@@ -477,7 +477,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:183
- p.StreamT(qw422016, "Allow")
+ p.streamt(qw422016, "Allow")
//line web/authorize.qtpl:183
qw422016.N().S(`
@@ -485,7 +485,7 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
`)
//line web/authorize.qtpl:187
- p.StreamT(qw422016, `You will be redirected to %s%s%s`, ``, p.RedirectURI, `
`)
+ p.streamt(qw422016, `You will be redirected to %s%s%s`, ``, p.RedirectURI, `
`)
//line web/authorize.qtpl:187
qw422016.N().S(`
@@ -496,22 +496,22 @@ func (p *AuthorizePage) StreamBody(qw422016 *qt422016.Writer) {
}
//line web/authorize.qtpl:191
-func (p *AuthorizePage) WriteBody(qq422016 qtio422016.Writer) {
+func (p *AuthorizePage) writebody(qq422016 qtio422016.Writer) {
//line web/authorize.qtpl:191
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/authorize.qtpl:191
- p.StreamBody(qw422016)
+ p.streambody(qw422016)
//line web/authorize.qtpl:191
qt422016.ReleaseWriter(qw422016)
//line web/authorize.qtpl:191
}
//line web/authorize.qtpl:191
-func (p *AuthorizePage) Body() string {
+func (p *AuthorizePage) body() string {
//line web/authorize.qtpl:191
qb422016 := qt422016.AcquireByteBuffer()
//line web/authorize.qtpl:191
- p.WriteBody(qb422016)
+ p.writebody(qb422016)
//line web/authorize.qtpl:191
qs422016 := string(qb422016.B)
//line web/authorize.qtpl:191
diff --git a/web/baseof.qtpl b/web/baseof.qtpl
index 9ac8840..b81bebc 100644
--- a/web/baseof.qtpl
+++ b/web/baseof.qtpl
@@ -8,11 +8,11 @@
) %}
{% interface Page {
- Body()
- Head()
- Lang()
- Title()
- T(format message.Reference, args ...any)
+ body()
+ head()
+ lang()
+ t(format message.Reference, args ...any)
+ title()
} %}
{% code type BaseOf struct {
@@ -22,7 +22,7 @@
} %}
{% stripspace %}
-{% func (p *BaseOf) Lang() %}
+{% func (p *BaseOf) lang() %}
{% if p.Language != language.Und %}
{%s p.Language.String() %}
{% else %}
@@ -32,11 +32,11 @@ en
{% endstripspace %}
{% collapsespace %}
-{% func (p *BaseOf) Title() %}
+{% func (p *BaseOf) title() %}
{%s p.Config.Name %}
{% endfunc %}
-{% func (p *BaseOf) Head() %}
+{% func (p *BaseOf) head() %}
{% comment %}https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs{% endcomment %}
{% endfunc %}
-{% func (p *BaseOf) Body() %}{% endfunc %}
+{% func (p *BaseOf) body() %}{% endfunc %}
{% func Template(p Page) %}
+ lang="{%= p.lang() %}">
- {%= p.Head() %}
+ {%= p.head() %}
- {%= p.Title() %}
+ {%= p.title() %}
- {%= p.Body() %}
+ {%= p.body() %}
{% code
var path, vcsRevision string
@@ -92,7 +92,7 @@ en
{% if vcsRevision != "" %}
- {%= p.T("version") %}
+ {%= p.t("version") %}
{%s vcsRevision[:7] -%}
@@ -104,7 +104,7 @@ en
{% endfunc %}
-{% func (p BaseOf) T(format message.Reference, args ...any) %}
+{% func (p BaseOf) t(format message.Reference, args ...any) %}
{%s= p.Printer.Sprintf(format, args...) %}
{% endfunc %}
{% endcollapsespace %}
diff --git a/web/baseof.qtpl.go b/web/baseof.qtpl.go
index f4b30bc..eb73c11 100644
--- a/web/baseof.qtpl.go
+++ b/web/baseof.qtpl.go
@@ -30,35 +30,35 @@ var (
//line web/baseof.qtpl:10
type Page interface {
//line web/baseof.qtpl:10
- Body() string
+ body() string
//line web/baseof.qtpl:10
- StreamBody(qw422016 *qt422016.Writer)
+ streambody(qw422016 *qt422016.Writer)
//line web/baseof.qtpl:10
- WriteBody(qq422016 qtio422016.Writer)
+ writebody(qq422016 qtio422016.Writer)
//line web/baseof.qtpl:10
- Head() string
+ head() string
//line web/baseof.qtpl:10
- StreamHead(qw422016 *qt422016.Writer)
+ streamhead(qw422016 *qt422016.Writer)
//line web/baseof.qtpl:10
- WriteHead(qq422016 qtio422016.Writer)
+ writehead(qq422016 qtio422016.Writer)
//line web/baseof.qtpl:10
- Lang() string
+ lang() string
//line web/baseof.qtpl:10
- StreamLang(qw422016 *qt422016.Writer)
+ streamlang(qw422016 *qt422016.Writer)
//line web/baseof.qtpl:10
- WriteLang(qq422016 qtio422016.Writer)
+ writelang(qq422016 qtio422016.Writer)
//line web/baseof.qtpl:10
- Title() string
+ t(format message.Reference, args ...any) string
//line web/baseof.qtpl:10
- StreamTitle(qw422016 *qt422016.Writer)
+ streamt(qw422016 *qt422016.Writer, format message.Reference, args ...any)
//line web/baseof.qtpl:10
- WriteTitle(qq422016 qtio422016.Writer)
+ writet(qq422016 qtio422016.Writer, format message.Reference, args ...any)
//line web/baseof.qtpl:10
- T(format message.Reference, args ...any) string
+ title() string
//line web/baseof.qtpl:10
- StreamT(qw422016 *qt422016.Writer, format message.Reference, args ...any)
+ streamtitle(qw422016 *qt422016.Writer)
//line web/baseof.qtpl:10
- WriteT(qq422016 qtio422016.Writer, format message.Reference, args ...any)
+ writetitle(qq422016 qtio422016.Writer)
//line web/baseof.qtpl:10
}
@@ -70,7 +70,7 @@ type BaseOf struct {
}
//line web/baseof.qtpl:25
-func (p *BaseOf) StreamLang(qw422016 *qt422016.Writer) {
+func (p *BaseOf) streamlang(qw422016 *qt422016.Writer) {
//line web/baseof.qtpl:26
if p.Language != language.Und {
//line web/baseof.qtpl:27
@@ -85,22 +85,22 @@ func (p *BaseOf) StreamLang(qw422016 *qt422016.Writer) {
}
//line web/baseof.qtpl:31
-func (p *BaseOf) WriteLang(qq422016 qtio422016.Writer) {
+func (p *BaseOf) writelang(qq422016 qtio422016.Writer) {
//line web/baseof.qtpl:31
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/baseof.qtpl:31
- p.StreamLang(qw422016)
+ p.streamlang(qw422016)
//line web/baseof.qtpl:31
qt422016.ReleaseWriter(qw422016)
//line web/baseof.qtpl:31
}
//line web/baseof.qtpl:31
-func (p *BaseOf) Lang() string {
+func (p *BaseOf) lang() string {
//line web/baseof.qtpl:31
qb422016 := qt422016.AcquireByteBuffer()
//line web/baseof.qtpl:31
- p.WriteLang(qb422016)
+ p.writelang(qb422016)
//line web/baseof.qtpl:31
qs422016 := string(qb422016.B)
//line web/baseof.qtpl:31
@@ -111,7 +111,7 @@ func (p *BaseOf) Lang() string {
}
//line web/baseof.qtpl:35
-func (p *BaseOf) StreamTitle(qw422016 *qt422016.Writer) {
+func (p *BaseOf) streamtitle(qw422016 *qt422016.Writer) {
//line web/baseof.qtpl:35
qw422016.N().S(` `)
//line web/baseof.qtpl:36
@@ -122,22 +122,22 @@ func (p *BaseOf) StreamTitle(qw422016 *qt422016.Writer) {
}
//line web/baseof.qtpl:37
-func (p *BaseOf) WriteTitle(qq422016 qtio422016.Writer) {
+func (p *BaseOf) writetitle(qq422016 qtio422016.Writer) {
//line web/baseof.qtpl:37
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/baseof.qtpl:37
- p.StreamTitle(qw422016)
+ p.streamtitle(qw422016)
//line web/baseof.qtpl:37
qt422016.ReleaseWriter(qw422016)
//line web/baseof.qtpl:37
}
//line web/baseof.qtpl:37
-func (p *BaseOf) Title() string {
+func (p *BaseOf) title() string {
//line web/baseof.qtpl:37
qb422016 := qt422016.AcquireByteBuffer()
//line web/baseof.qtpl:37
- p.WriteTitle(qb422016)
+ p.writetitle(qb422016)
//line web/baseof.qtpl:37
qs422016 := string(qb422016.B)
//line web/baseof.qtpl:37
@@ -148,7 +148,7 @@ func (p *BaseOf) Title() string {
}
//line web/baseof.qtpl:39
-func (p *BaseOf) StreamHead(qw422016 *qt422016.Writer) {
+func (p *BaseOf) streamhead(qw422016 *qt422016.Writer) {
//line web/baseof.qtpl:39
qw422016.N().S(` `)
//line web/baseof.qtpl:40
@@ -157,22 +157,22 @@ func (p *BaseOf) StreamHead(qw422016 *qt422016.Writer) {
}
//line web/baseof.qtpl:54
-func (p *BaseOf) WriteHead(qq422016 qtio422016.Writer) {
+func (p *BaseOf) writehead(qq422016 qtio422016.Writer) {
//line web/baseof.qtpl:54
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/baseof.qtpl:54
- p.StreamHead(qw422016)
+ p.streamhead(qw422016)
//line web/baseof.qtpl:54
qt422016.ReleaseWriter(qw422016)
//line web/baseof.qtpl:54
}
//line web/baseof.qtpl:54
-func (p *BaseOf) Head() string {
+func (p *BaseOf) head() string {
//line web/baseof.qtpl:54
qb422016 := qt422016.AcquireByteBuffer()
//line web/baseof.qtpl:54
- p.WriteHead(qb422016)
+ p.writehead(qb422016)
//line web/baseof.qtpl:54
qs422016 := string(qb422016.B)
//line web/baseof.qtpl:54
@@ -183,27 +183,27 @@ func (p *BaseOf) Head() string {
}
//line web/baseof.qtpl:56
-func (p *BaseOf) StreamBody(qw422016 *qt422016.Writer) {
+func (p *BaseOf) streambody(qw422016 *qt422016.Writer) {
//line web/baseof.qtpl:56
}
//line web/baseof.qtpl:56
-func (p *BaseOf) WriteBody(qq422016 qtio422016.Writer) {
+func (p *BaseOf) writebody(qq422016 qtio422016.Writer) {
//line web/baseof.qtpl:56
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/baseof.qtpl:56
- p.StreamBody(qw422016)
+ p.streambody(qw422016)
//line web/baseof.qtpl:56
qt422016.ReleaseWriter(qw422016)
//line web/baseof.qtpl:56
}
//line web/baseof.qtpl:56
-func (p *BaseOf) Body() string {
+func (p *BaseOf) body() string {
//line web/baseof.qtpl:56
qb422016 := qt422016.AcquireByteBuffer()
//line web/baseof.qtpl:56
- p.WriteBody(qb422016)
+ p.writebody(qb422016)
//line web/baseof.qtpl:56
qs422016 := string(qb422016.B)
//line web/baseof.qtpl:56
@@ -218,19 +218,19 @@ func StreamTemplate(qw422016 *qt422016.Writer, p Page) {
//line web/baseof.qtpl:58
qw422016.N().S(` `)
//line web/baseof.qtpl:68
- p.StreamHead(qw422016)
+ p.streamhead(qw422016)
//line web/baseof.qtpl:68
qw422016.N().S(` `)
//line web/baseof.qtpl:70
- p.StreamTitle(qw422016)
+ p.streamtitle(qw422016)
//line web/baseof.qtpl:70
qw422016.N().S(` `)
//line web/baseof.qtpl:74
- p.StreamBody(qw422016)
+ p.streambody(qw422016)
//line web/baseof.qtpl:74
qw422016.N().S(` `)
//line web/baseof.qtpl:77
@@ -255,7 +255,7 @@ func StreamTemplate(qw422016 *qt422016.Writer, p Page) {
//line web/baseof.qtpl:92
qw422016.N().S(` `)
//line web/baseof.qtpl:95
- p.StreamT(qw422016, "version")
+ p.streamt(qw422016, "version")
//line web/baseof.qtpl:95
qw422016.N().S(`
{% code err := new(domain.Error) %}
{% if errors.As(p.Error, err) %}
@@ -29,11 +29,11 @@
href="{%s err.URI %}"
target="_blank">
- {%s p.T("How do I fix it?") %}
+ {%s p.t("How do I fix it?") %}
{% endif %}
{% else %}
- {%s p.T("Error") %}
+ {%s p.t("Error") %}
{%s p.Error.Error() %}
{% endif %}
diff --git a/web/error.qtpl.go b/web/error.qtpl.go
index 9d0a741..0c45181 100644
--- a/web/error.qtpl.go
+++ b/web/error.qtpl.go
@@ -31,33 +31,33 @@ type ErrorPage struct {
}
//line web/error.qtpl:13
-func (p *ErrorPage) StreamTitle(qw422016 *qt422016.Writer) {
+func (p *ErrorPage) streamtitle(qw422016 *qt422016.Writer) {
//line web/error.qtpl:13
qw422016.N().S(` `)
//line web/error.qtpl:14
- qw422016.E().S(p.T("Error"))
+ qw422016.E().S(p.t("Error"))
//line web/error.qtpl:14
qw422016.N().S(` `)
//line web/error.qtpl:15
}
//line web/error.qtpl:15
-func (p *ErrorPage) WriteTitle(qq422016 qtio422016.Writer) {
+func (p *ErrorPage) writetitle(qq422016 qtio422016.Writer) {
//line web/error.qtpl:15
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/error.qtpl:15
- p.StreamTitle(qw422016)
+ p.streamtitle(qw422016)
//line web/error.qtpl:15
qt422016.ReleaseWriter(qw422016)
//line web/error.qtpl:15
}
//line web/error.qtpl:15
-func (p *ErrorPage) Title() string {
+func (p *ErrorPage) title() string {
//line web/error.qtpl:15
qb422016 := qt422016.AcquireByteBuffer()
//line web/error.qtpl:15
- p.WriteTitle(qb422016)
+ p.writetitle(qb422016)
//line web/error.qtpl:15
qs422016 := string(qb422016.B)
//line web/error.qtpl:15
@@ -68,7 +68,7 @@ func (p *ErrorPage) Title() string {
}
//line web/error.qtpl:17
-func (p *ErrorPage) StreamBody(qw422016 *qt422016.Writer) {
+func (p *ErrorPage) streambody(qw422016 *qt422016.Writer) {
//line web/error.qtpl:17
qw422016.N().S(` `)
//line web/error.qtpl:19
@@ -105,7 +105,7 @@ func (p *ErrorPage) StreamBody(qw422016 *qt422016.Writer) {
//line web/error.qtpl:29
qw422016.N().S(`" target="_blank"> `)
//line web/error.qtpl:32
- qw422016.E().S(p.T("How do I fix it?"))
+ qw422016.E().S(p.t("How do I fix it?"))
//line web/error.qtpl:32
qw422016.N().S(` `)
//line web/error.qtpl:34
@@ -117,7 +117,7 @@ func (p *ErrorPage) StreamBody(qw422016 *qt422016.Writer) {
//line web/error.qtpl:35
qw422016.N().S(` `)
//line web/error.qtpl:36
- qw422016.E().S(p.T("Error"))
+ qw422016.E().S(p.t("Error"))
//line web/error.qtpl:36
qw422016.N().S(` `)
//line web/error.qtpl:37
@@ -132,22 +132,22 @@ func (p *ErrorPage) StreamBody(qw422016 *qt422016.Writer) {
}
//line web/error.qtpl:40
-func (p *ErrorPage) WriteBody(qq422016 qtio422016.Writer) {
+func (p *ErrorPage) writebody(qq422016 qtio422016.Writer) {
//line web/error.qtpl:40
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/error.qtpl:40
- p.StreamBody(qw422016)
+ p.streambody(qw422016)
//line web/error.qtpl:40
qt422016.ReleaseWriter(qw422016)
//line web/error.qtpl:40
}
//line web/error.qtpl:40
-func (p *ErrorPage) Body() string {
+func (p *ErrorPage) body() string {
//line web/error.qtpl:40
qb422016 := qt422016.AcquireByteBuffer()
//line web/error.qtpl:40
- p.WriteBody(qb422016)
+ p.writebody(qb422016)
//line web/error.qtpl:40
qs422016 := string(qb422016.B)
//line web/error.qtpl:40
diff --git a/web/home.qtpl b/web/home.qtpl
index 9e6b52b..b71d167 100644
--- a/web/home.qtpl
+++ b/web/home.qtpl
@@ -9,15 +9,15 @@
} %}
{% collapsespace %}
-{% func (p *HomePage) Head() %}
-{%= p.BaseOf.Head() %}
+{% func (p *HomePage) head() %}
+{%= p.BaseOf.head() %}
{% for i := range p.Client.RedirectURI %}
{% endfor %}
{% endfunc %}
-{% func (p *HomePage) Body() %}
+{% func (p *HomePage) body() %}
{% endfor %}
- {% for _, scope := range []domain.Scope{
- domain.ScopeEmail,
- domain.ScopeProfile,
- } %}
-
- {% endfor %}
-
- {%= p.T("Sign In") %}
+ {%= p.t("Sign In") %}
{% endfunc %}
diff --git a/web/home.qtpl.go b/web/home.qtpl.go
index 5ce13ba..e8572b8 100644
--- a/web/home.qtpl.go
+++ b/web/home.qtpl.go
@@ -30,11 +30,11 @@ type HomePage struct {
}
//line web/home.qtpl:12
-func (p *HomePage) StreamHead(qw422016 *qt422016.Writer) {
+func (p *HomePage) streamhead(qw422016 *qt422016.Writer) {
//line web/home.qtpl:12
qw422016.N().S(` `)
//line web/home.qtpl:13
- p.BaseOf.StreamHead(qw422016)
+ p.BaseOf.streamhead(qw422016)
//line web/home.qtpl:13
qw422016.N().S(` `)
//line web/home.qtpl:14
@@ -53,22 +53,22 @@ func (p *HomePage) StreamHead(qw422016 *qt422016.Writer) {
}
//line web/home.qtpl:18
-func (p *HomePage) WriteHead(qq422016 qtio422016.Writer) {
+func (p *HomePage) writehead(qq422016 qtio422016.Writer) {
//line web/home.qtpl:18
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/home.qtpl:18
- p.StreamHead(qw422016)
+ p.streamhead(qw422016)
//line web/home.qtpl:18
qt422016.ReleaseWriter(qw422016)
//line web/home.qtpl:18
}
//line web/home.qtpl:18
-func (p *HomePage) Head() string {
+func (p *HomePage) head() string {
//line web/home.qtpl:18
qb422016 := qt422016.AcquireByteBuffer()
//line web/home.qtpl:18
- p.WriteHead(qb422016)
+ p.writehead(qb422016)
//line web/home.qtpl:18
qs422016 := string(qb422016.B)
//line web/home.qtpl:18
@@ -79,7 +79,7 @@ func (p *HomePage) Head() string {
}
//line web/home.qtpl:20
-func (p *HomePage) StreamBody(qw422016 *qt422016.Writer) {
+func (p *HomePage) streambody(qw422016 *qt422016.Writer) {
//line web/home.qtpl:20
qw422016.N().S(` `)
//line web/home.qtpl:58
- }
-//line web/home.qtpl:58
- qw422016.N().S(` `)
-//line web/home.qtpl:60
- for _, scope := range []domain.Scope{
- domain.ScopeEmail,
- domain.ScopeProfile,
- } {
-//line web/home.qtpl:63
- qw422016.N().S(` `)
-//line web/home.qtpl:67
+//line web/home.qtpl:59
}
-//line web/home.qtpl:67
+//line web/home.qtpl:59
qw422016.N().S(` `)
-//line web/home.qtpl:76
- p.StreamT(qw422016, "Sign In")
-//line web/home.qtpl:76
+//line web/home.qtpl:68
+ p.streamt(qw422016, "Sign In")
+//line web/home.qtpl:68
qw422016.N().S(` `)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
}
-//line web/home.qtpl:79
-func (p *HomePage) WriteBody(qq422016 qtio422016.Writer) {
-//line web/home.qtpl:79
+//line web/home.qtpl:71
+func (p *HomePage) writebody(qq422016 qtio422016.Writer) {
+//line web/home.qtpl:71
qw422016 := qt422016.AcquireWriter(qq422016)
-//line web/home.qtpl:79
- p.StreamBody(qw422016)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
+ p.streambody(qw422016)
+//line web/home.qtpl:71
qt422016.ReleaseWriter(qw422016)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
}
-//line web/home.qtpl:79
-func (p *HomePage) Body() string {
-//line web/home.qtpl:79
+//line web/home.qtpl:71
+func (p *HomePage) body() string {
+//line web/home.qtpl:71
qb422016 := qt422016.AcquireByteBuffer()
-//line web/home.qtpl:79
- p.WriteBody(qb422016)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
+ p.writebody(qb422016)
+//line web/home.qtpl:71
qs422016 := string(qb422016.B)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
qt422016.ReleaseByteBuffer(qb422016)
-//line web/home.qtpl:79
+//line web/home.qtpl:71
return qs422016
-//line web/home.qtpl:79
+//line web/home.qtpl:71
}
diff --git a/web/ticket.qtpl b/web/ticket.qtpl
index 41ba679..52a4f9e 100644
--- a/web/ticket.qtpl
+++ b/web/ticket.qtpl
@@ -4,9 +4,9 @@
} %}
{% collapsespace %}
-{% func (p *TicketPage) Body() %}
+{% func (p *TicketPage) body() %}
- {%= p.T("TicketAuth") %}
+ {%= p.t("TicketAuth") %}
@@ -25,7 +25,7 @@
{% endif %}
-
{%= p.T("Recipient") %}
+
{%= p.t("Recipient") %}
- {%= p.T("Resource") %}
+ {%= p.t("Resource") %}
-
{%= p.T("Send") %}
+
{%= p.t("Send") %}
{% endfunc %}
diff --git a/web/ticket.qtpl.go b/web/ticket.qtpl.go
index 78c90d6..75b9f2a 100644
--- a/web/ticket.qtpl.go
+++ b/web/ticket.qtpl.go
@@ -24,11 +24,11 @@ type TicketPage struct {
}
//line web/ticket.qtpl:7
-func (p *TicketPage) StreamBody(qw422016 *qt422016.Writer) {
+func (p *TicketPage) streambody(qw422016 *qt422016.Writer) {
//line web/ticket.qtpl:7
qw422016.N().S(`
`)
//line web/ticket.qtpl:9
- p.StreamT(qw422016, "TicketAuth")
+ p.streamt(qw422016, "TicketAuth")
//line web/ticket.qtpl:9
qw422016.N().S(` `)
//line web/ticket.qtpl:50
}
//line web/ticket.qtpl:50
-func (p *TicketPage) WriteBody(qq422016 qtio422016.Writer) {
+func (p *TicketPage) writebody(qq422016 qtio422016.Writer) {
//line web/ticket.qtpl:50
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/ticket.qtpl:50
- p.StreamBody(qw422016)
+ p.streambody(qw422016)
//line web/ticket.qtpl:50
qt422016.ReleaseWriter(qw422016)
//line web/ticket.qtpl:50
}
//line web/ticket.qtpl:50
-func (p *TicketPage) Body() string {
+func (p *TicketPage) body() string {
//line web/ticket.qtpl:50
qb422016 := qt422016.AcquireByteBuffer()
//line web/ticket.qtpl:50
- p.WriteBody(qb422016)
+ p.writebody(qb422016)
//line web/ticket.qtpl:50
qs422016 := string(qb422016.B)
//line web/ticket.qtpl:50