Skip to content

Node.js based forum software built for the modern web

oops removed by mistage

Baris Usakli0b6d018f8d4e
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index ae9b3110b3..d4e0c41bb8 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -66,7 +66,7 @@
<div class="btn-group">
<button class="btn btn-sm btn-default follow main-post" type="button" title="Be notified of new replies in this topic"><i class="fa fa-eye"></i></button>
- <button class="favourite btn btn-sm btn-default " type="button">
+ <button class="favourite btn btn-sm btn-default <!-- IF posts.favourited --> btn-warning <!-- ENDIF posts.favourited -->" type="button">
<span class="favourite-text">[[topic:favourite]]</span>
<span class="post_rep_{posts.pid}">{posts.reputation} </span>