[Toaster] [PATCH 1/2] toaster: rename 'run again' button
Smith, Elliot
elliot.smith at intel.com
Thu Feb 25 06:26:18 PST 2016
Sent upstream and added to toaster-next.
Elliot
On 25 February 2016 at 10:33, Belen Barros Pena <
belen.barros.pena at linux.intel.com> wrote:
> 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)
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160225/c86a93c5/attachment.html>
More information about the toaster
mailing list