[Toaster] [PATCH 1/2] toaster: rename 'run again' button
Belen Barros Pena
belen.barros.pena at linux.intel.com
Thu Feb 25 02:33:31 PST 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>
---
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)
--
2.5.4 (Apple Git-61)
More information about the toaster
mailing list