Skip to content
Permalink
Browse files

https://github.com/NodeBB/NodeBB/issues/8018

  • Loading branch information...
barisusakli committed Nov 2, 2019
1 parent 131f6d3 commit eb33ae7fa1d59aa1fce77cea988a537e277049b5
Showing with 3 additions and 3 deletions.
  1. +1 −1 templates/notifications.tpl
  2. +2 −2 templates/partials/notifications_list.tpl
@@ -50,7 +50,7 @@
<!-- ENDIF notifications.image -->

<p>
<a component="notifications/item/link" href="{config.relative_path}{notifications.path}">{notifications.bodyShort}</a>
<a component="notifications/item/link" href="{notifications.path}">{notifications.bodyShort}</a>
</p>
<p class="timestamp">
<span class="timeago" title="{notifications.datetimeISO}"></span>
@@ -4,7 +4,7 @@
<!-- ENDIF !notifications.length -->

{{{each notifications}}}
<li class="{notifications.readClass}" data-nid="{notifications.nid}" data-path="{config.relative_path}{notifications.path}" <!-- IF notifications.pid --> data-pid="{notifications.pid}"<!-- ENDIF notifications.pid --><!-- IF notifications.tid --> data-tid="{notifications.tid}"<!-- ENDIF notifications.tid -->>
<li class="{notifications.readClass}" data-nid="{notifications.nid}" data-path="{notifications.path}" <!-- IF notifications.pid --> data-pid="{notifications.pid}"<!-- ENDIF notifications.pid --><!-- IF notifications.tid --> data-tid="{notifications.tid}"<!-- ENDIF notifications.tid -->>
<!-- IF notifications.image -->
<!-- IF notifications.from -->
<a href="{config.relative_path}/user/{notifications.user.userslug}"><img class="pull-left user-img avatar avatar-md avatar-rounded"src="{notifications.image}" /></a>
@@ -14,7 +14,7 @@
<!-- ENDIF notifications.image -->

<div class="pull-right mark-read" aria-label="Mark Read"></div>
<a href="{config.relative_path}{notifications.path}">
<a href="{notifications.path}">
<span class="pull-right relTime">{notifications.timeago}</span>
<span class="text">{notifications.bodyShort}</span>
</a>

0 comments on commit eb33ae7

Please sign in to comment.
You can’t perform that action at this time.