You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB
Smarty

10 years ago
<div class="notifications">
9 years ago
<!-- IMPORT partials/breadcrumbs.tpl -->
<div class="dropdown pull-right visible-xs-block">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
<i class="fa fa-eye"></i>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" data-ajaxify="false" component="notifications/mark_all">[[notifications:mark_all_read]]</a></li>
</ul>
</div>
10 years ago
<hr />
10 years ago
<div class="alert alert-info <!-- IF notifications.length -->hidden<!-- ENDIF notifications.length -->">
[[notifications:no_notifs]]
</div>
<ul class="notifications-list" data-nextstart="{nextStart}">
10 years ago
<!-- BEGIN notifications -->
<li data-nid="{notifications.nid}" class="{notifications.readClass}" component="notifications/item">
10 years ago
<!-- IF notifications.image -->
<!-- IF notifications.from -->
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><img class="user-img" src="{notifications.image}" /></a>
10 years ago
<!-- ENDIF notifications.from -->
<!-- ELSE -->
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><div class="pull-left user-icon user-img" style="background-color: {notifications.user.icon:bgColor};">{notifications.user.icon:text}</div></a>
10 years ago
<!-- ENDIF notifications.image -->
<p>
9 years ago
<a component="notifications/item/link" href="{config.relative_path}{notifications.path}">{notifications.bodyShort}</a>
10 years ago
</p>
<p class="timestamp">
<span class="timeago" title="{notifications.datetimeISO}"></span>
</p>
</li>
<!-- END notifications -->
</ul>
</div>