diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-01-28 19:41:24 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-01-28 19:41:24 +0000 |
| commit | e9fe936aa98e9325034750f2f327ad4271c7e55d (patch) | |
| tree | a506ff83efbdd886ef6e65e2cff7053ab244b01c /app/templates/packages/view.html | |
| parent | 8afe17b984cae3d1e934f92024bbc683d4668c48 (diff) | |
| download | cheatdb-e9fe936aa98e9325034750f2f327ad4271c7e55d.tar.xz | |
Increase visibility of thread creation
Diffstat (limited to 'app/templates/packages/view.html')
| -rw-r--r-- | app/templates/packages/view.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index d97e376..bd49a87 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -289,6 +289,13 @@ {{ render_threadlist(threads, list_group=True) }} </ul> </div> + + {% 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) %} + <a class="float-right" + href="{{ url_for('new_thread_page', pid=package.id) }}"> + Report a problem with this listing + </a> + {% endif %} </aside> {% if not package.approved and (package.author == current_user or package.checkPerm(current_user, "APPROVE_NEW")) %} |
