Skip to content

Node.js based forum software built for the modern web

added rep + post count metrics to post body, closes #443

psychobunny202a4c410533
diff --git a/public/language/en/topic.json b/public/language/en/topic.json
index 434db262ed..aaa23c7a31 100644
--- a/public/language/en/topic.json
+++ b/public/language/en/topic.json
@@ -35,5 +35,8 @@
"loading": "Loading",
"more_posts": "More Posts",
"move_topic": "Move Topic",
- "topic_will_be_moved_to": "This topic will be moved to the category"
+ "topic_will_be_moved_to": "This topic will be moved to the category",
+
+ "posts": "Posts",
+ "reputation": "Reputation"
}
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index 5919d27527..44c2fb55c5 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -39,6 +39,7 @@
<span class="label label-danger">[[topic:banned]]</span>
<!-- ENDIF posts.user_banned -->
</a>
+
</div>
<div class="col-md-11">
@@ -108,6 +109,7 @@
<div class="post-info">
<span class="pull-left">
+ [[topic:reputation]]: <i class='fa fa-star'></i> <span class='formatted-number'>{posts.user_rep}</span>&nbsp;|&nbsp;[[topic:posts]]: <i class='fa fa-pencil'></i> <span class='formatted-number'>{posts.user_postcount}</span>
{posts.additional_profile_info}
</span>
<span class="pull-right">