pulsarvp/vps-tools

View on GitHub
src/modules/notification/views/index.tpl

Summary

Maintainability
Test Coverage
{if count(Yii::$app->notification->data) > 0}
    <div class="noitifcation-container">
        {foreach Yii::$app->notification->data as $d}
            <div class="notification alert alert-{$d->class}">
                {if $d->canHide}
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                {/if}
                {$d->message}
            </div>
        {/foreach}
    </div>
{/if}