PhoenixKitWeb.Live.Modules.Emails.Templates (phoenix_kit v1.6.16)
View SourceLiveView for displaying and managing email templates in PhoenixKit admin panel.
Provides comprehensive template management interface with filtering, searching, creation, editing, and analytics for email templates.
Features
- Real-time Template List: Live updates of templates
- Advanced Filtering: By category, status, system vs custom
- Search Functionality: Search across template names, descriptions
- Template Management: Create, edit, clone, archive templates
- Usage Analytics: View template usage statistics
- Test Send: Send test emails using templates
- System Templates: Manage core system templates
Route
This LiveView is mounted at {prefix}/admin/modules/emails/templates and requires
appropriate admin permissions.
Note: {prefix} is your configured PhoenixKit URL prefix (default: /phoenix_kit).
Usage
# In your Phoenix router
live "/email-templates", PhoenixKitWeb.Live.Modules.Emails.EmailTemplatesLive, :indexPermissions
Access is restricted to users with admin or owner roles in PhoenixKit.
Summary
Functions
Callback implementation for Phoenix.LiveView.render/1.
Functions
Callback implementation for Phoenix.LiveView.render/1.