content_immediate_email_header.php 1.23 KB
Newer Older
Marcello Pivanti's avatar
Marcello Pivanti committed
1
2
3
4
5
6
<?php

/**
 * Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
 * OPEN 2.0
 *
7
8
9
 * @see https://www.open2.0.regione.lombardia.it Developers'community
 * @license GPLv3
 * @license https://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3
Marcello Pivanti's avatar
Marcello Pivanti committed
10
 *
waltermazza's avatar
waltermazza committed
11
 * @package    arter\amos\notificationmanager\views\email
Marcello Pivanti's avatar
Marcello Pivanti committed
12
13
14
15
 * @category   CategoryName
 * @author     Elite Division S.r.l.
 */

waltermazza's avatar
waltermazza committed
16
use arter\amos\notificationmanager\AmosNotify;
Marcello Pivanti's avatar
Marcello Pivanti committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

/**
 * @var integer $contents_number
 */

?>

<div style="box-sizing:border-box;color:#000000;">
    <div style="padding:5px 10px;background-color: #F2F2F2;text-align:center;">
        <h1 style="color:#297A38;font-size:1.2em;margin:0;">
            <?= AmosNotify::t('amosnotify', '#Platform_update') ?>
        </h1>
        <p style="font-size:1em;margin:0;margin-top:5px;">
            <?php
            if ($contents_number == 1):
                ?>
                <?= AmosNotify::t('amosnotify', '#There_is_content_interest', [$contents_number]) ?>
                <?php
            else:
                ?>
                <?= AmosNotify::t('amosnotify', '#There_is_content_interest_plural', [$contents_number]) ?>
            <?php
            endif;
            ?>
        </p>
    </div>
</div>