feat: add organization email templates management
- Created a new SQL migration to establish the organization_email_templates table with necessary fields and default templates for common events. - Implemented CRUD operations for email templates in Rust, including listing, creating, updating, and deleting templates. - Developed a React component for managing email templates, allowing users to create, edit, and delete templates with a user-friendly interface.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import BrandingSettings from "@/components/BrandingSettings";
|
||||
import EmailSettings from "@/components/EmailSettings";
|
||||
import EmailTemplates from "@/components/EmailTemplates";
|
||||
import ExerciseFeatureSettings from "@/components/ExerciseFeatureSettings";
|
||||
import PageLayout from "@/components/PageLayout";
|
||||
import { useAuth } from "@/context/AuthContext";
|
||||
@@ -30,6 +31,7 @@ export default function SettingsPage() {
|
||||
<div className="space-y-8">
|
||||
<BrandingSettings />
|
||||
<EmailSettings />
|
||||
<EmailTemplates />
|
||||
<ExerciseFeatureSettings />
|
||||
</div>
|
||||
</PageLayout>
|
||||
|
||||
Reference in New Issue
Block a user