summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2016-02-25 14:25:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-26 17:20:36 +0000
commit6e8282063f35bc5c8c6e8117c54f055b3b524d01 (patch)
treec618ee1cdaa6e14a54c041aea877aa04f9274352
parentc8dd72c7979043ac643c0b86a9f431916115005e (diff)
downloadpoky-6e8282063f35bc5c8c6e8117c54f055b3b524d01.tar.gz
bitbake: toaster: rename 'run again' button
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. (Bitbake rev: 865a2015e86a1bc5cc7d63308f27c292d1ca98eb) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/mrb_section.html2
-rw-r--r--bitbake/lib/toaster/toastergui/tests.py2
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 cceee7d1f3..551e341a5d 100644
--- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
@@ -113,7 +113,7 @@
113 {% url 'project' build.project.id as purl %}{{purl|json}}, 113 {% url 'project' build.project.id as purl %}{{purl|json}},
114 {{build.target_set.all|get_tasks|json}})'> 114 {{build.target_set.all|get_tasks|json}})'>
115 115
116 Run again 116 Rebuild
117 </button> 117 </button>
118 {% endif %} 118 {% endif %}
119 </div> 119 </div>
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 4e420ea269..6b05916f32 100644
--- a/bitbake/lib/toaster/toastergui/tests.py
+++ b/bitbake/lib/toaster/toastergui/tests.py
@@ -951,7 +951,7 @@ class AllBuildsPageTests(TestCase):
951 951
952 def test_run_again(self): 952 def test_run_again(self):
953 """ 953 """
954 "Run again" button should not be shown for command-line builds, 954 "Rebuild" button should not be shown for command-line builds,
955 but should be shown for other builds 955 but should be shown for other builds
956 """ 956 """
957 build1 = Build.objects.create(**self.project1_build_success) 957 build1 = Build.objects.create(**self.project1_build_success)