Include move board in postLinks modlogs view

indiachan-spamvector
Thomas Lynch 2 years ago
parent a1ccd6f267
commit 8224b6f083
  1. 2
      views/pages/globalmanagelogs.pug
  2. 2
      views/pages/managelogs.pug
  3. 2
      views/pages/modlog.pug

@ -60,7 +60,7 @@ block content
td
if log.showLinks
for postLink in log.postLinks
a(href=`/${log.board}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
a(href=`/${postLink.board || log.board}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
|
else
| #{log.postLinks.map(l => l.postId)}

@ -46,7 +46,7 @@ block content
td
if log.showLinks
for postLink in log.postLinks
a(href=`/${board._id}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
a(href=`/${postLink.board || board._id}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
|
else
| #{log.postLinks.map(l => l.postId)}

@ -29,7 +29,7 @@ block content
td
if log.showLinks
for postLink in log.postLinks
a.quote(href=`/${board._id}/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
a.quote(href=`/${postLink.board || board._id}/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId}
|
else
| #{log.postLinks.map(l => l.postId)}

Loading…
Cancel
Save