Skip to contentSkip to conversation

toaster: rename 'run again' button

PATCH New Elliot Smith 1 participant 1 message Feb 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: rename 'run again' button

From: Belen Barros Pena <[email protected]>

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/lib/toaster/toastergui/templates/mrb_section.html | 2 +-
 bitbake/lib/toaster/toastergui/tests.py                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/toaster/toastergui/templates/mrb_section.html +1 -1
index cceee7d..551e341 100644
@@ -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>
bitbake/lib/toaster/toastergui/tests.py +1 -1
index 4e420ea..6b05916 100644
@@ -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)
Signature · 12 lines
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.