Skip to content

Commit 9b1f086

Browse files
committed
Ticketit email settings: Deleted from seeder and from notifications tab. Kept template and descriptions for backwards compatibility
1 parent d818437 commit 9b1f086

3 files changed

Lines changed: 1 addition & 37 deletions

File tree

src/Controllers/ConfigurationsController.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ public function index()
2525
$table_section = ['subject_content_column', 'list_text_max_length', 'check_last_update_seconds', 'length_menu', 'max_agent_buttons', 'calendar_month_filter', 'paginate_items'];
2626
$features_section = ['departments_feature', 'departments_notices_feature', 'ticket_attachments_feature'];
2727
$email_section = ['status_notification', 'comment_notification', 'queue_emails', 'assigned_notification',
28-
'list_owner_notification', 'status_owner_notification',
29-
'email.template', 'email.owner.newticket.template', 'email.header', 'email.signoff', 'email.signature', 'email.dashboard',
30-
'email.google_plus_link', 'email.facebook_link', 'email.twitter_link', 'email.footer', 'email.footer_link',
31-
'email.color_body_bg', 'email.color_header_bg', 'email.color_content_bg', 'email.color_footer_bg',
32-
'email.color_button_bg', 'email.account.name', 'email.account.mailbox', 'custom_recipients' ];
28+
'list_owner_notification', 'status_owner_notification', 'email.template', 'email.owner.newticket.template', 'email.account.name', 'email.account.mailbox', 'custom_recipients' ];
3329
$tickets_section = ['default_priority_id', 'default_status_id', 'default_close_status_id', 'default_reopen_status_id',
3430
'attachments_ticket_max_size', 'attachments_ticket_max_files_num', 'attachments_mimes',
3531
'attachments_path', 'thumbnails_path', 'oldest_year', 'html_replacements', 'use_default_status_id', 'delete_modal_type'];

src/Seeds/SettingsTableSeeder.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,6 @@ public function getDefaults()
123123
*/
124124
'email.template' => 'panichd::emails.templates.panichd',
125125
'email.owner.newticket.template' => 'panichd::emails.templates.simple',
126-
// resources/views/emails/templates/ticketit.blade.php
127-
'email.header' => 'Ticket Update',
128-
'email.signoff' => 'Thank you for your patience!',
129-
'email.signature' => 'Your friends',
130-
'email.dashboard' => 'My Dashboard',
131-
'email.google_plus_link' => '#', // Toogle icon link: false or string
132-
'email.facebook_link' => '#', // Toogle icon link: false or string
133-
'email.twitter_link' => '#', // Toogle icon link: false or string
134-
'email.footer' => 'Powered by Ticketit',
135-
'email.footer_link' => 'https://github.com/panichelpdesk/panichd',
136-
'email.color_body_bg' => '#FFFFFF',
137-
'email.color_header_bg' => '#44B7B7',
138-
'email.color_content_bg' => '#F46B45',
139-
'email.color_footer_bg' => '#414141',
140-
'email.color_button_bg' => '#AC4D2F',
141-
142126

143127
/**
144128
* Configurable notifications.

src/Views/emails/templates/panichd.blade.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -149,21 +149,6 @@
149149
.mb0 {
150150
margin-bottom: 0; }
151151
152-
.preheader {
153-
color: transparent;
154-
display: none;
155-
height: 0;
156-
max-height: 0;
157-
max-width: 0;
158-
opacity: 0;
159-
overflow: hidden;
160-
mso-hide: all;
161-
visibility: hidden;
162-
width: 0; }
163-
164-
.powered-by a {
165-
text-decoration: none; }
166-
167152
hr {
168153
border: 0;
169154
border-bottom: 1px solid #f6f6f6;
@@ -233,7 +218,6 @@
233218
<div class="content">
234219

235220
<!-- START CENTERED WHITE CONTAINER -->
236-
<span class="preheader">{{ $setting->grab('email.header') }}</span>
237221
<table class="main">
238222

239223
<!-- START MAIN CONTENT AREA -->

0 commit comments

Comments
 (0)