View | Details | Raw Unified | Return to bug 31028
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_31028.pl (-4 / +4 lines)
Lines 89-95 return { Link Here
89
        $dbh->do(
89
        $dbh->do(
90
            q{
90
            q{
91
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
91
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
92
                VALUES ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [% INCLUDE 'patron-title.inc' patron => ticket.reporter %],<br><br>Thankyou for your report concerning [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 %].<br><br>You reported: <br>[% ticket.body %]<br><br>Thankyou", 'email' );
92
                VALUES ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br><br>Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br><br>You reported: <br>[%- ticket.body -%]<br><br>Thankyou", 'email' );
93
            }
93
            }
94
        );
94
        );
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
Lines 97-103 return { Link Here
97
        $dbh->do(
97
        $dbh->do(
98
            q{
98
            q{
99
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
99
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
100
                VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "Dear [% INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter %],<br><br>The library has added an update to the concern you reported against [% INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 %].<br><br>The following comment was left: <br>[% ticket_update.message %]<br><br>Thankyou", 'email' );
100
                VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thankyou", 'email' );
101
            }
101
            }
102
        );
102
        );
103
        say $out "Added new notice 'TICKET_UPDATE'";
103
        say $out "Added new notice 'TICKET_UPDATE'";
Lines 105-111 return { Link Here
105
        $dbh->do(
105
        $dbh->do(
106
            q{
106
            q{
107
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
107
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
108
                VALUES ( 'catalogue', 'TICKET_RESOLVE', '', 'Concern resolved', '1', 'Catalog concern resolved', "Dear [% INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter %],<br><br>The library has now marked your concern with [% INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 %] as resolved.<br><br>The following comment was left:   <br>[% ticket_update.message %]<br><br>Thankyou", 'email' );
108
                VALUES ( 'catalogue', 'TICKET_RESOLVE', '', 'Concern resolved', '1', 'Catalog concern resolved', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has now marked your concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%]as resolved.<br><br>The following comment was left:   <br>[%- ticket_update.message -%]<br><br>Thankyou", 'email' );
109
            }
109
            }
110
        );
110
        );
111
        say $out "Added new notice 'TICKET_RESOLVE'";
111
        say $out "Added new notice 'TICKET_RESOLVE'";
Lines 121-127 return { Link Here
121
        $dbh->do(
121
        $dbh->do(
122
            q{
122
            q{
123
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
123
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
124
                VALUES ( 'catalogue', 'TICKET_NOTIFY', '', 'Catalog concern notification', '1', 'Catalog concern reported', "Dear cataloger,<br><br>[% INCLUDE 'patron-title.inc' patron => ticket.reporter %] reported the following concern with [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 %]<br><br>[% ticket.body %]<br><br>You can mark this concern as resolved from the concern management <a href='[% Koha.Preference('IntranetBaseURL') %]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>.", 'email' );
124
                VALUES ( 'catalogue', 'TICKET_NOTIFY', '', 'Catalog concern notification', '1', 'Catalog concern reported', "[%- USE Koha -%]\r\nDear cataloger,<br><br>[%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%]reported the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 -%]<br><br>[%- ticket.body -%]<br><br>You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('IntranetBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>.", 'email' );
125
            }
125
            }
126
        );
126
        );
127
        say $out "Added new notice 'TICKET_NOTIFY'";
127
        say $out "Added new notice 'TICKET_NOTIFY'";
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-13 / +13 lines)
Lines 52-63 tables: Link Here
52
          message_transport_type: email
52
          message_transport_type: email
53
          lang: default
53
          lang: default
54
          content:
54
          content:
55
            - "Dear [% INCLUDE 'patron-title.inc' patron => ticket.reporter %],<br>"
55
            - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br>"
56
            - "<br>"
56
            - "<br>"
57
            - "Thankyou for your report concerning [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 %].<br>"
57
            - "Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br>"
58
            - "<br>"
58
            - "<br>"
59
            - "You reported: <br>"
59
            - "You reported: <br>"
60
            - "[% ticket.body %]<br>"
60
            - "[%- ticket.body -%]<br>"
61
            - "<br>"
61
            - "<br>"
62
            - "Thankyou"
62
            - "Thankyou"
63
63
Lines 70-81 tables: Link Here
70
          message_transport_type: email
70
          message_transport_type: email
71
          lang: default
71
          lang: default
72
          content:
72
          content:
73
            - "Dear [% INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter %],<br>"
73
            - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br>"
74
            - "<br>"
74
            - "<br>"
75
            - "The library has now marked your concern with [% INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 %] as resolved.<br>"
75
            - "The library has now marked your concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%] as resolved.<br>"
76
            - "<br>"
76
            - "<br>"
77
            - "The following comment was left: <br>"
77
            - "The following comment was left: <br>"
78
            - "[% ticket_update.message %]<br>"
78
            - "[%- ticket_update.message -%]<br>"
79
            - "<br>"
79
            - "<br>"
80
            - "Thankyou"
80
            - "Thankyou"
81
81
Lines 88-99 tables: Link Here
88
          message_transport_type: email
88
          message_transport_type: email
89
          lang: default
89
          lang: default
90
          content:
90
          content:
91
            - "Dear [% INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter %],<br>"
91
            - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br>"
92
            - "<br>"
92
            - "<br>"
93
            - "The library has added an update to the concern you reported against [% INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 %].<br>"
93
            - "The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br>"
94
            - "<br>"
94
            - "<br>"
95
            - "The following comment was left: <br>"
95
            - "The following comment was left: <br>"
96
            - "[% ticket_update.message %]<br>"
96
            - "[%- ticket_update.message -%]<br>"
97
            - "<br>"
97
            - "<br>"
98
            - "Thankyou"
98
            - "Thankyou"
99
99
Lines 106-117 tables: Link Here
106
          message_transport_type: email
106
          message_transport_type: email
107
          lang: default
107
          lang: default
108
          content:
108
          content:
109
            - "[%- USE Koha -%]"
109
            - "Dear cataloger,<br>"
110
            - "Dear cataloger,<br>"
110
            - "[% INCLUDE 'patron-title.inc' patron => ticket.reporter %] reported the following concern with [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 %]<br>"
111
            - "[%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%] reported the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 -%]<br>"
111
            - "<br>"
112
            - "<br>"
112
            - "[% ticket.body %]<br>"
113
            - "[%- ticket.body -%]<br>"
113
            - "<br>"
114
            - "<br>"
114
            - "You can mark this concern as resolved from the concern management <a href='[% Koha.Preference('IntranetBaseURL') %]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>."
115
            - "You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('IntranetBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>."
115
116
116
        - module: circulation
117
        - module: circulation
117
          code: ACCOUNT_CREDIT
118
          code: ACCOUNT_CREDIT
118
- 

Return to bug 31028