mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 16:22:24 -05:00
[feature] Add page-specific class per template (#3814)
* [feature] Add page-specific class per template * cheeky bit cheaper
This commit is contained in:
parent
a03a35a5d6
commit
8829ee187a
7 changed files with 14 additions and 6 deletions
|
|
@ -77,7 +77,7 @@ func (m *Module) confirmEmailGETHandler(c *gin.Context) {
|
|||
// Serve page where user can click button
|
||||
// to POST confirmation to same endpoint.
|
||||
page := apiutil.WebPage{
|
||||
Template: "confirm_email.tmpl",
|
||||
Template: "confirm-email.tmpl",
|
||||
Instance: instance,
|
||||
Extra: map[string]any{
|
||||
"email": email,
|
||||
|
|
@ -127,7 +127,7 @@ func (m *Module) confirmEmailPOSTHandler(c *gin.Context) {
|
|||
// Serve page informing user that their
|
||||
// email address is now confirmed.
|
||||
page := apiutil.WebPage{
|
||||
Template: "confirmed_email.tmpl",
|
||||
Template: "confirmed-email.tmpl",
|
||||
Instance: instance,
|
||||
Extra: map[string]any{
|
||||
"email": user.Email,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue