a.lv-item style=“padding:10px 15px;#{notification.pending?? 'background-color: #ECF9FF;' : ''}” role=“button” onclick=“#{notification.pending?? ”read_notify(#{notification.id},'#{notification.link}');this.onclick=''“ : ''}” href=“#{notification.pending?? '#' : notification.link}”

.media
  .pull-left.text-center.p-r-15
    img.lv-img-sm alt="" src="#{Configuration::USER_PHOTO_URL}#{notification.creator.hxt_id}" title="#{notification.creator.full_name}" onError="this.onerror=null;this.src='/sinatra-hexacta/img/noimage.jpg';"
    br
    -if notification.label == 'error'
      .btn.btn-link.bgm-red.btn-xs style="font-size:6pt" #{notification.label}
  .media-body
    .lv-title style="white-space: normal;" #{notification.title}
    small.lv-small style="white-space: normal;" #{notification.message.truncate(100)}