diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-06-11 22:49:25 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-06-11 22:52:37 +0100 |
| commit | b1c349cc3558b4642a700a489482ff95b038ce56 (patch) | |
| tree | 1b8cda09e538d9c571050d26ecbb1d5455dea5c0 /app/templates/threads/view.html | |
| parent | 40aac38d43c2d7c2220b10a1bef34ac85f960359 (diff) | |
| download | cheatdb-b1c349cc3558b4642a700a489482ff95b038ce56.tar.xz | |
Add comment system
Diffstat (limited to 'app/templates/threads/view.html')
| -rw-r--r-- | app/templates/threads/view.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/templates/threads/view.html b/app/templates/threads/view.html new file mode 100644 index 0000000..397fba3 --- /dev/null +++ b/app/templates/threads/view.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block title %} +Threads +{% endblock %} + +{% block content %} + <h1>{% if thread.private %}🔒 {% endif %}{{ thread.title }}</h1> + + {% if thread.package %} + <p> + Package: <a href="{{ thread.package.getDetailsURL() }}">{{ thread.package.title }}</a> + </p> + {% endif %} + + {% if thread.private %} + <i> + This thread is only visible to its creator, the package owner, and users of + Editor rank or above. + </i> + {% endif %} + + {% from "macros/threads.html" import render_thread %} + {{ render_thread(thread, current_user) }} +{% endblock %} |
