From 0b50fd9bd1325a6283fcb2bfbb1040dcf703d38b Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sun, 8 Jun 2014 20:24:59 +0200 Subject: [PATCH] =?UTF-8?q?No=20=E2=80=9EView=20Raw=E2=80=9C=20button=20wh?= =?UTF-8?q?en=20viewing=20a=20one-time=20snippet,=20since=20it=20was=20alr?= =?UTF-8?q?eady=20deleted=20at=20this=20time.=20Closes=20issue=20#62.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dpaste/templates/dpaste/snippet_details.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dpaste/templates/dpaste/snippet_details.html b/dpaste/templates/dpaste/snippet_details.html index 83aa85e..1a64b1a 100644 --- a/dpaste/templates/dpaste/snippet_details.html +++ b/dpaste/templates/dpaste/snippet_details.html @@ -65,7 +65,9 @@ {% if not snippet.is_single %} {% trans "Compare Snippets" %} {% endif %} + {% if snippet.expire_type != 3 %} {% trans "View Raw" %} + {% endif %} {% trans "Gist" %} {% if snippet.lexer != 'text' %}