chore: Align template path names.

This commit is contained in:
Ruben Verborgh 2021-07-20 21:36:50 +02:00 committed by Joachim Van Herwegen
parent 9628fe98b8
commit 1ad03871b2
25 changed files with 13 additions and 13 deletions

View File

@ -24,7 +24,7 @@
}, },
{ {
"StaticAssetHandler:_assets_key": "/idp/style.css", "StaticAssetHandler:_assets_key": "/idp/style.css",
"StaticAssetHandler:_assets_value": "$PACKAGE_ROOT/templates/idp/email-password-interaction/main.css" "StaticAssetHandler:_assets_value": "$PACKAGE_ROOT/templates/identity/email-password/main.css"
} }
] ]
} }

View File

@ -14,7 +14,7 @@
"args_idpPath": "/idp", "args_idpPath": "/idp",
"args_templateEngine": { "args_templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/resetPasswordEmail.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/reset-password-email.html.ejs"
}, },
"args_emailSender": { "@id": "urn:solid-server:default:EmailSender" } "args_emailSender": { "@id": "urn:solid-server:default:EmailSender" }
}, },
@ -27,7 +27,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/emailSent.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/email-sent.html.ejs"
} }
}, },
{ {
@ -36,7 +36,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/forgotPassword.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/forgot-password.html.ejs"
} }
} }
] ]

View File

@ -16,7 +16,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/confirm.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/confirm.html.ejs"
} }
} }
} }

View File

@ -20,7 +20,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/login.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/login.html.ejs"
} }
} }
] ]

View File

@ -25,7 +25,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/register.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/register.html.ejs"
} }
}, },
{ {
@ -34,7 +34,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/registerResponse.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/register-response.html.ejs"
} }
} }
] ]

View File

@ -33,7 +33,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/resetPassword.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/reset-password.html.ejs"
} }
}, },
{ {
@ -42,7 +42,7 @@
"@type": "TemplateHandler", "@type": "TemplateHandler",
"templateEngine": { "templateEngine": {
"@type": "EjsTemplateEngine", "@type": "EjsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/idp/email-password-interaction/message.ejs" "template": "$PACKAGE_ROOT/templates/identity/email-password/message.html.ejs"
} }
} }
] ]

View File

@ -30,10 +30,10 @@
"@type": "ErrorToTemplateConverter", "@type": "ErrorToTemplateConverter",
"templateEngine": { "templateEngine": {
"@type": "HandlebarsTemplateEngine", "@type": "HandlebarsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/error/main.md" "template": "$PACKAGE_ROOT/templates/error/main.md.hbs"
}, },
"templatePath": "$PACKAGE_ROOT/templates/error/descriptions/", "templatePath": "$PACKAGE_ROOT/templates/error/descriptions/",
"extension": ".md", "extension": ".md.hbs",
"contentType": "text/markdown" "contentType": "text/markdown"
}, },
{ {
@ -42,7 +42,7 @@
"templateEngine": { "templateEngine": {
"@id": "urn:solid-server:default:MainTemplateEngine", "@id": "urn:solid-server:default:MainTemplateEngine",
"@type": "HandlebarsTemplateEngine", "@type": "HandlebarsTemplateEngine",
"template": "$PACKAGE_ROOT/templates/main.html" "template": "$PACKAGE_ROOT/templates/main.html.hbs"
} }
} }
] ]