Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D144110A56 for ; Tue, 30 Jul 2013 21:31:17 +0000 (UTC) Received: (qmail 28055 invoked by uid 500); 30 Jul 2013 21:31:17 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 28036 invoked by uid 500); 30 Jul 2013 21:31:17 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 28028 invoked by uid 99); 30 Jul 2013 21:31:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 21:31:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 85172830628; Tue, 30 Jul 2013 21:31:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tvansteenburgh@apache.org To: allura-commits@incubator.apache.org Message-Id: <944588a6830b48ccb7a39c43d3adcf40@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [#4931] Add download link for images in repo Date: Tue, 30 Jul 2013 21:31:17 +0000 (UTC) Updated Branches: refs/heads/tv/4931 [created] d91ad5057 [#4931] Add download link for images in repo Signed-off-by: Tim Van Steenburgh Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d91ad505 Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d91ad505 Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d91ad505 Branch: refs/heads/tv/4931 Commit: d91ad5057555c839851539cc459f9f4d5cdd6e4b Parents: fff526f Author: Tim Van Steenburgh Authored: Tue Jul 30 21:31:03 2013 +0000 Committer: Tim Van Steenburgh Committed: Tue Jul 30 21:31:03 2013 +0000 ---------------------------------------------------------------------- Allura/allura/templates/repo/file.html | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d91ad505/Allura/allura/templates/repo/file.html ---------------------------------------------------------------------- diff --git a/Allura/allura/templates/repo/file.html b/Allura/allura/templates/repo/file.html index 3dcb447..04f7205 100644 --- a/Allura/allura/templates/repo/file.html +++ b/Allura/allura/templates/repo/file.html @@ -80,6 +80,7 @@ {% endif %} {% if blob.has_image_view %} +

Download this file

{% elif blob.has_html_view or blob.has_pypeline_view or force_display %}

Download this file