[bitbake-devel] [PATCH] toaster: rename 'run again' button

Elliot Smith elliot.smith at intel.com
Thu Feb 25 14:25:55 UTC 2016


From: Belen Barros Pena <belen.barros.pena at intel.com>

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 <belen.barros.pena at intel.com>
Signed-off-by: Elliot Smith <elliot.smith at intel.com>
---
 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
                   </button>
               {% endif %}
             </div>
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)
-- 
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the bitbake-devel mailing list