From f0a9e8a874d216deb73e87b8b08f73b6a00151ff Mon Sep 17 00:00:00 2001 From: sudan Date: Mon, 22 Feb 2016 17:20:20 +0800 Subject: add private paste --- templates/show_paste.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/show_paste.html') diff --git a/templates/show_paste.html b/templates/show_paste.html index 89ad18e..9628402 100644 --- a/templates/show_paste.html +++ b/templates/show_paste.html @@ -11,7 +11,9 @@
{{ paste.pub_date.strftime('%Y-%m-%d @ %H:%M') }}
Actions
- Reply + {% if not paste.is_private %} + Reply + {% endif %} {%- if g.user and paste.user == g.user -%} , Delete {% endif %} -- cgit