diff --git a/app/flatpages/help/reporting.md b/app/flatpages/help/reporting.md index 2ab75864..1b1beef1 100644 --- a/app/flatpages/help/reporting.md +++ b/app/flatpages/help/reporting.md @@ -5,4 +5,4 @@ laws. We take copyright violation and other offenses very seriously. -Contact +Contact diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index d97e3769..bd49a873 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -289,6 +289,13 @@ {{ render_threadlist(threads, list_group=True) }} + + {% if package.approved and package.checkPerm(current_user, "CREATE_THREAD") and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %} + + Report a problem with this listing + + {% endif %} {% if not package.approved and (package.author == current_user or package.checkPerm(current_user, "APPROVE_NEW")) %} diff --git a/app/templates/threads/new.html b/app/templates/threads/new.html index fec44685..ffe65326 100644 --- a/app/templates/threads/new.html +++ b/app/templates/threads/new.html @@ -6,6 +6,15 @@ {% block content %} +{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %} + {% if package.issueTracker %} +