Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5316

Add an option to revert email templates to default

    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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        admin Paul Phillips made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Story Points 5
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.13.0 Sprint 3 [ 218 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 34 minutes [ 5640 ]
        Worklog Id 17853 [ 17853 ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 5.14.0-b1 [ 12206 ]
        Fix Version/s 5.13.0-b1 [ 12203 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.13.0 Sprint 3 [ 218 ] 5.13.0 Sprint 3, 5.13.0 Sprint 4 [ 218, 219 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Time Spent 1 hour, 34 minutes [ 5640 ] 5 hours, 27 minutes [ 19620 ]
        Worklog Id 17918 [ 17918 ]
        jonathan Jonathan Reissmueller made changes -
        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 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Time Spent 5 hours, 27 minutes [ 19620 ] 1 day, 5 hours, 21 minutes [ 48060 ]
        Worklog Id 17919 [ 17919 ]
        abdy Abdy Franco made changes -
        Time Spent 1 day, 5 hours, 21 minutes [ 48060 ] 2 days, 5 hours, 21 minutes [ 76860 ]
        Worklog Id 17920 [ 17920 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 5 hours, 21 minutes
              2d 5h 21m

                Agile