Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 25190E00C71; Thu, 25 Feb 2016 02:33:48 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A2C1FE00C67 for ; Thu, 25 Feb 2016 02:33:47 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 25 Feb 2016 02:33:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="894400778" Received: from unknown (HELO bbarrosp-mac03.local.com) ([10.252.4.209]) by orsmga001.jf.intel.com with ESMTP; 25 Feb 2016 02:33:46 -0800 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Thu, 25 Feb 2016 11:33:31 +0100 Message-Id: <1456396412-34574-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.5.4 (Apple Git-61) Subject: [PATCH 1/2] toaster: rename 'run again' button X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 10:33:48 -0000 From: Belen Barros Pena I quite dislike the 'Run again' label we use in the button that rebuilds things. Changing it to 'Rebuild', which is shorter and more specific. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/templates/mrb_section.html | 2 +- bitbake/lib/toaster/toastergui/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index cceee7d..551e341 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -113,7 +113,7 @@ {% url 'project' build.project.id as purl %}{{purl|json}}, {{build.target_set.all|get_tasks|json}})'> - Run again + Rebuild {% endif %} diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index 4e420ea..6b05916 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py @@ -951,7 +951,7 @@ class AllBuildsPageTests(TestCase): def test_run_again(self): """ - "Run again" button should not be shown for command-line builds, + "Rebuild" button should not be shown for command-line builds, but should be shown for other builds """ build1 = Build.objects.create(**self.project1_build_success) -- 2.5.4 (Apple Git-61)