mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 09:51:13 -05:00
Add email templates for user notifications and account management
- Created a base email template (base.html) for consistent styling across all emails. - Added moderation approval email template (moderation_approved.html) to notify users of approved submissions. - Added moderation rejection email template (moderation_rejected.html) to inform users of required changes for their submissions. - Created password reset email template (password_reset.html) for users requesting to reset their passwords. - Developed a welcome email template (welcome.html) to greet new users and provide account details and tips for using ThrillWiki.
This commit is contained in:
39
django/staticfiles/unfold/forms/js/trix.config.js
Normal file
39
django/staticfiles/unfold/forms/js/trix.config.js
Normal file
@@ -0,0 +1,39 @@
|
||||
Trix.config.blockAttributes.heading2 = {
|
||||
tagName: "h2",
|
||||
breakOnReturn: true,
|
||||
group: false,
|
||||
terminal: true
|
||||
}
|
||||
|
||||
Trix.config.blockAttributes.heading3 = {
|
||||
tagName: "h3",
|
||||
breakOnReturn: true,
|
||||
group: false,
|
||||
terminal: true
|
||||
}
|
||||
|
||||
Trix.config.blockAttributes.heading4 = {
|
||||
tagName: "h4",
|
||||
breakOnReturn: true,
|
||||
group: false,
|
||||
terminal: true
|
||||
}
|
||||
|
||||
Trix.config.blockAttributes.p = {
|
||||
tagName: "p",
|
||||
breakOnReturn: true,
|
||||
terminal: true
|
||||
}
|
||||
|
||||
Trix.config.textAttributes.underlined = {
|
||||
tagName: "u",
|
||||
inheritable: true,
|
||||
parser(element) {
|
||||
const style = window.getComputedStyle(element);
|
||||
return style.textDecoration === "underline";
|
||||
},
|
||||
}
|
||||
|
||||
document.addEventListener("trix-before-initialize", () => {
|
||||
Trix.config.toolbar.getDefaultHTML = () => document.getElementById("trix-toolbar").innerHTML
|
||||
})
|
||||
Reference in New Issue
Block a user