From a01fe4043e65d8be4b75dfcca8c68ed9bedc7a9e Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 25 Aug 2018 19:12:42 +0100 Subject: [PATCH] Fix owner not seeing create link in 'more content' list --- app/templates/macros/topics.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/macros/topics.html b/app/templates/macros/topics.html index 31896a4..b38286b 100644 --- a/app/templates/macros/topics.html +++ b/app/templates/macros/topics.html @@ -43,7 +43,7 @@ {% if show_author %} by {{ topic.author.display_name }} {% endif %} - {% if topic.author.checkPerm(current_user, "CHANGE_AUTHOR") %} + {% if topic.author == current_user or topic.author.checkPerm(current_user, "CHANGE_AUTHOR") %} | Create {% endif %}