<?php $this->beginContent('application.modules_core.notification.views.notificationLayoutMail', array('notification' => $notification, 'showSpace' => true)); ?> <?php echo Yii::t('CommentModule.views_notifications_alsoCommented', "%displayName% also commented your %contentTitle%.", array('%displayName%' => '<strong>' . $creator->displayName . '</strong>', '%contentTitle%' => $targetObject->getContentTitle())); ?> <br/> <em>"<?php echo NotificationModule::formatOutput($sourceObject->message); ?> "</em> <?php $this->endContent(); ?>
<?php $this->beginContent('application.modules_core.notification.views.notificationLayoutMail', array('notification' => $notification, 'showSpace' => true)); echo Yii::t('UserModule.views_notifications_Mentioned', '{userName} mentioned you in {contentTitle}.', array('{userName}' => '<strong>' . CHtml::encode($creator->displayName) . '</strong>', '{contentTitle}' => NotificationModule::formatOutput($targetObject->getContentTitle()))); $this->endContent();
<?php $this->beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification)); ?> <?php echo Yii::t('LikeModule.views_notifications_newLike', "%displayName% has interest in %contentTitle%.", array('%displayName%' => '<strong>' . CHtml::encode($creator->displayName) . '</strong>', '%contentTitle%' => NotificationModule::formatOutput($targetObject->getContentTitle()))); $this->endContent();
<!-- show user image --> <img class="media-object img-rounded pull-left" data-src="holder.js/32x32" alt="32x32" style="width: 32px; height: 32px;" src="<?php echo $notification->creator->getProfileImage()->getUrl(); ?> "> <!-- show content --> <div class="media-body"> <div class="row"> <div class="col-md-9"> <?php echo '<strong>' . CHtml::encode($creator->displayName) . '</strong> created new album '; echo NotificationModule::formatOutput($targetObject->getContentTitle()); ?> <br> <span class="time" title="<?php echo $notification->created_at; ?> "><?php echo $notification->created_at; ?> </span> <?php if (!$notification->seen) { ?> <span class="label label-danger"><?php
<?php $this->beginContent('application.modules_core.notification.views.notificationLayoutMail', array('notification' => $notification, 'showSpace' => false)); ?> <?php echo '<strong>' . CHtml::encode($creator->displayName) . '</strong> created new album ' . NotificationModule::formatOutput($targetObject->getContentTitle()); $this->endContent();