1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

Show post IP address in meta dropdown. closes #956 closes #657

This commit is contained in:
Davis
2016-05-21 22:02:42 +09:30
committed by Toby Zerner
parent 38c15c5a08
commit 909f52522b
9 changed files with 36 additions and 7 deletions

12
js/forum/dist/app.js vendored
View File

@@ -24456,7 +24456,17 @@ System.register('flarum/components/PostMeta', ['flarum/Component', 'flarum/helpe
app.translator.trans('core.forum.post.number_tooltip', { number: post.number() })
),
' ',
fullTime(time),
m(
'span',
{ className: 'PostMeta-time' },
fullTime(time)
),
' ',
m(
'span',
{ className: 'PostMeta-ip' },
post.data.attributes.ipAddress
),
touch ? m(
'a',
{ className: 'Button PostMeta-permalink', href: permalink },