<commit_before><?php
/**
 * @package     Mautic
 * @copyright   2016 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */


$data = $event['extra']['log']['metadata'];

if (isset($data['failed'])) {
    return;
}

$notification = $data['notification'];
?>

<li class="wrapper form-submitted">
    <div class="figure"><span class="fa <?php echo isset($icons['notification']) ? $icons['notification'] : '' ?>"></span></div>
    <div class="panel">
        <div class="panel-body">
            <h3><?php echo $notification['name']; ?></h3>
            <p class="mb-0"><?php echo $view['translator']->trans('mautic.core.timeline.event.time', array('%date%' => $view['date']->toFullConcat($event['timestamp']), '%event%' => $event['eventLabel'])); ?></p>
        </div>
        <div class="panel-footer">
            <dl class="dl-horizontal">
                <dt><?php echo $view['translator']->trans('mautic.notification.timeline.status'); ?></dt>
                <dd class="ellipsis"><?php echo $view['translator']->trans($data['status']); ?></dd>
                <dt><?php echo $view['translator']->trans('mautic.notification.timeline.type'); ?></dt>
                <dd class="ellipsis"><?php echo $view['translator']->trans($data['type']); ?></dd>
            </dl>
            <div class="small">
                <hr />
                <strong><?php echo $notification['heading']; ?></strong>
                <br />
                <?php echo $notification['content']; ?>
            </div>
        </div>
    </div>
</li>
<commit_msg>Update timeline view to fix layout<commit_after><?php
/**
 * @package     Mautic
 * @copyright   2016 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */


$data = $event['extra']['log']['metadata'];

if (isset($data['failed'])) {
    return;
}
?>

<li class="wrapper form-submitted">
    <div class="figure"><span class="fa <?php echo isset($icons['notification']) ? $icons['notification'] : '' ?>"></span></div>
    <div class="panel">
        <div class="panel-body">
            <h3><?php echo $notification['name']; ?></h3>
            <p class="mb-0"><?php echo $view['translator']->trans('mautic.core.timeline.event.time', array('%date%' => $view['date']->toFullConcat($event['timestamp']), '%event%' => $event['eventLabel'])); ?></p>
        </div>
        <div class="panel-footer">
            <dl class="dl-horizontal">
                <dt><?php echo $view['translator']->trans('mautic.notification.timeline.status'); ?></dt>
                <dd class="ellipsis"><?php echo $view['translator']->trans($data['status']); ?></dd>
                <dt><?php echo $view['translator']->trans('mautic.notification.timeline.type'); ?></dt>
                <dd class="ellipsis"><?php echo $view['translator']->trans($data['type']); ?></dd>
            </dl>
            <div class="small">
                <hr />
                <strong><?php echo $data['heading']; ?></strong>
                <br />
                <?php echo $data['content']; ?>
            </div>
        </div>
    </div>
</li>

{'fraction_non_alphanumeric': 0.22670333027803238, 'fraction_numerical': 0.006110601894286587, 'mean_word_length': 2.654017857142857, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1466526', 'n_tokens_mistral': 1005, 'n_tokens_neox': 1011, 'n_words': 185}