UX: show lock icon in user stream if topic is closed/archived

This commit is contained in:
Arpit Jalan
2015-05-11 22:21:16 +05:30
parent b6357e4d48
commit 6b816f445d
3 changed files with 12 additions and 0 deletions

View File

@ -142,6 +142,7 @@ SQL
SELECT
a.id,
t.title, a.action_type, a.created_at, t.id topic_id,
t.closed AS topic_closed, t.archived AS topic_archived,
a.user_id AS target_user_id, au.name AS target_name, au.username AS target_username,
coalesce(p.post_number, 1) post_number, p.id as post_id,
p.reply_to_post_number,