<li>
  <!--<a href="#" data-transition="slide">-->
  {if $single_view}
  <h3>{$notification.title}</h3>
  <img src="{$module_path}/transparent.png" class="notification" style="margin: 20px;  margin-left: 30px; width: 35px; {$notification.icon_style}">

  <p style="white-space: normal;"></p>

  <p style="white-space: normal;" data-role="none">
    {$notification.notification_summary}
  </p>

  <p style="white-space: normal;" data-role="none">
    {$notification.notification}
  </p>

  <p class="ui-li-aside">
    <strong>
      <abbr class="timeago" title="{$notification.date_added}">{$notification.date_added}</abbr>
    </strong>
  </p>


  {else}

  <img src="{$module_path}/transparent.png" class="notification" style="margin: 20px;  margin-left: 30px; width: 35px; {$notification.icon_style}">

  <div data-role="collapsible" data-inset="false" data-mini="true">
    <h3>{$notification.title}: {$notification.notification_summary}</h3>

    <p style="white-space: normal;" data-role="none">
      <b>{$notification.notification_summary}</b>
      <br/>
      <br/>
      {$notification.notification}
      <br clear="all">
    <span style="float: right">
      {if $notification.link_type == 'E' || $notification.link_type == 'I'}
      <a href="{$notification.link}" target="{if $notification.link_type == 'E'}_blank{/if}" data-role="button" data-inline="true" data-theme="b" data-mini="true" data-ajax="false" data-icon="arrow-r" data-iconpos="right" data-iconpos="notext">{#button_readmore#}</a>
      {/if}
      {if $notification.link_type == 'P' && $notification.notification_only != true}
      <a href="#" data-role="button" onclick="return openCeeboxPopup('{$notification.link}', 650);" data-role="button" data-inline="true" data-theme="b" data-mini="true" data-ajax="false" data-icon="arrow-r" data-iconpos="right" data-iconpos="notext">{#button_readmore#}</a>
      {/if}
    </span>
    </p>
  </div>


  <p class="ui-li-aside">
    <strong>
      <abbr class="timeago" title="{$notification.date_added}">{$notification.date_added}</abbr>
    </strong>
    <br/>
    {if $dashboard_viewpage == 'open'}
    <a href="{$dashboard_page_link}&notification_id={$notification.id}&notification_action=hide" data-role="button" data-inline="true" data-theme="b" data-mini="true" data-ajax="false" data-icon="check" data-iconpos="right" data-iconpos="notext">{#button_hide#}</a>
    {else}
    <a href="{$dashboard_page_link}&notification_id={$notification.id}&notification_action=unhide&dashboard_viewpage=dismissed" data-role="button" data-inline="true" data-theme="b" data-mini="true" data-ajax="false" data-icon="back" data-iconpos="right" data-iconpos="notext">{#button_unhide#}</a>
    {/if}

  </p>
  {/if}
  <!--</a>-->
</li>