From patchwork Wed Feb 20 07:17:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Senthil Kumaran X-Patchwork-Id: 15002 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1C13123F7B for ; Wed, 20 Feb 2013 07:17:14 +0000 (UTC) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by fiordland.canonical.com (Postfix) with ESMTP id 967C0A182E1 for ; Wed, 20 Feb 2013 07:17:13 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id f13so1658016vcb.12 for ; Tue, 19 Feb 2013 23:17:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:content-type:mime-version:x-launchpad-project :x-launchpad-branch:x-launchpad-message-rationale :x-launchpad-branch-revision-number:x-launchpad-notification-type:to :from:subject:message-id:date:reply-to:sender:errors-to:precedence :x-generated-by:x-launchpad-hash:x-gm-message-state; bh=vpF18cLNSwAcrGDaSuCXyZr3ri2GWBj5X4mekBTtwZM=; b=mMO8bpAATgJhZvFXBRI3bKHY6yn+zxDiNf78wqNWfk2u5hyFNybaAWpjddeGwVmOsC ZwooGsIdtHixdgUw8U3xe8WgtJAbjqaEtI62+wB/ZwF+AGouus/55e3xZ4iXgj0eA5Bu hk4QsS1q5QPs7FSGdWp6A1xk2Ml9KnO+dL35owOEdG9RrapElVY2wtTyk5dGZ1vSjFIJ pZFKg7kzDZ4wFcIgy3x/3yamjaatXZ7LHQ8l9k8IFyST7F43Y5wnSVEbKYbH8n30YAA1 WXt4YkgIx3AxUlrNXy/Iuaxhn0he7HlJzmO4jcaSUGgr0qtVSjMTk8eVxhoyTFg9Y4GN 5RnA== X-Received: by 10.58.32.10 with SMTP id e10mr24627368vei.59.1361344632954; Tue, 19 Feb 2013 23:17:12 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp182957veb; Tue, 19 Feb 2013 23:17:12 -0800 (PST) X-Received: by 10.194.7.136 with SMTP id j8mr31444412wja.38.1361344631725; Tue, 19 Feb 2013 23:17:11 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fy9si24548679wjb.199.2013.02.19.23.17.11 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Feb 2013 23:17:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1U83vT-00016P-6c for ; Wed, 20 Feb 2013 07:17:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 270FCE052B for ; Wed, 20 Feb 2013 07:17:11 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 396 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 396: Show bundle download method with or without username based on the bundle access. Message-Id: <20130220071711.30553.18348.launchpad@ackee.canonical.com> Date: Wed, 20 Feb 2013 07:17:11 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16491"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 317ee8233bdf61334d90dc755962770cd4e7bc62 X-Gm-Message-State: ALoCoQm9cDp/qbS5Rp0+jf3sPIZjDsofLUcM5Of89dgF9oGuKspRAwlLAkGib1tD8/QlGXKZruEi ------------------------------------------------------------ revno: 396 committer: Senthil Kumaran branch nick: trunk timestamp: Wed 2013-02-20 12:44:16 +0530 message: Show bundle download method with or without username based on the bundle access. modified: dashboard_app/templates/dashboard_app/bundle_detail.html --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'dashboard_app/templates/dashboard_app/bundle_detail.html' --- dashboard_app/templates/dashboard_app/bundle_detail.html 2012-08-27 00:31:59 +0000 +++ dashboard_app/templates/dashboard_app/bundle_detail.html 2013-02-20 07:14:16 +0000 @@ -58,7 +58,11 @@

Tips

You can download this bundle with the following command:

+{% if bundle.uploaded_by %} + lava-dashboard-tool get --dashboard-url=http://{{bundle.uploaded_by}}@{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}} +{% else %} lava-dashboard-tool get --dashboard-url=http://{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}} +{% endif %}
{% endblock %}