Details
-
Type:
Improvement
-
Status: In Progress
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 5.10.0
-
Fix Version/s: 5.14.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
People mess up email templates all the time, and there's no way to restore unless they install fresh and copy/paste from that fresh install.
We store email templates in the emails table. emails.company_id is the company ID. So, I think we could store these default templates with an ID of 0. On install, we should populate the emails table with another copy of the templates with company_id 0. Whenever we make changes to email templates, we will need to remember to update/create the same templates for company ID 0.
In the UI
- Add a red button with modal popup confirmation to the left of "Cancel" button called "Revert to Default".
- Add a bulk option on the template listing called "Revert to Default".
Reverting will replace the subject, text, html from the company_id 0 template. Do not replace from email, name, or remove any attachments, etc. Only subject, and html and text content.
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked lower |
Story Points | 5 |
Sprint | 5.13.0 Sprint 3 [ 218 ] |
Rank | Ranked lower |
Assignee | Abdy Franco [ abdy ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 1 hour, 34 minutes [ 5640 ] | |
Worklog Id | 17853 [ 17853 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 5.14.0-b1 [ 12206 ] | |
Fix Version/s | 5.13.0-b1 [ 12203 ] |
Sprint | 5.13.0 Sprint 3 [ 218 ] | 5.13.0 Sprint 3, 5.13.0 Sprint 4 [ 218, 219 ] |
Rank | Ranked higher |
Time Spent | 1 hour, 34 minutes [ 5640 ] | 5 hours, 27 minutes [ 19620 ] |
Worklog Id | 17918 [ 17918 ] |
Sprint | 5.13.0 Sprint 3, 5.13.0 Sprint 4 [ 218, 219 ] | 5.13.0 Sprint 3, 5.13.0 Sprint 4, 5.13.0 Sprint 5 [ 218, 219, 220 ] |
Rank | Ranked higher |
Time Spent | 5 hours, 27 minutes [ 19620 ] | 1 day, 5 hours, 21 minutes [ 48060 ] |
Worklog Id | 17919 [ 17919 ] |
Time Spent | 1 day, 5 hours, 21 minutes [ 48060 ] | 2 days, 5 hours, 21 minutes [ 76860 ] |
Worklog Id | 17920 [ 17920 ] |