diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-03-26 16:47:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-31 22:30:18 +0100 |
commit | 6dd5e472eb244a1c74601d0fe3552bb1031b53ec (patch) | |
tree | f96eb008cf40ee9ae4ea71324c891327e72b3510 /bitbake/lib/toaster/toastergui/templates/targets.html | |
parent | 3ff649953d836efe3089e42f8f11a4c6abe648be (diff) | |
download | poky-6dd5e472eb244a1c74601d0fe3552bb1031b53ec.tar.gz |
bitbake: toasterui: rename 'targets' to 'recipes'
A recent round of informal user feedback has revealed
that the term 'target' is quite problematic. For
all the users we spoke to the word refers to the
target arch. In Toaster, it refers to the software
you build.
This patch replaces the word 'target' with 'recipe'
across the Toaster interface. This is by no means
self-explanatory, but at least it cannot be confused
with target hardware, and it is also consistent with
the terminology we use in the analysis portion of
the interface.
(Bitbake rev: ac10b5d83172feb10f1f3a3c894a54d2c4c4f09d)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/targets.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/targets.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/targets.html b/bitbake/lib/toaster/toastergui/templates/targets.html index 6f59a6cdab..c27292095d 100644 --- a/bitbake/lib/toaster/toastergui/templates/targets.html +++ b/bitbake/lib/toaster/toastergui/templates/targets.html | |||
@@ -3,20 +3,20 @@ | |||
3 | {% load humanize %} | 3 | {% load humanize %} |
4 | 4 | ||
5 | {% block localbreadcrumb %} | 5 | {% block localbreadcrumb %} |
6 | <li>All compatible targets</li> | 6 | <li>All compatible recipes</li> |
7 | {% endblock %} | 7 | {% endblock %} |
8 | 8 | ||
9 | {% block projectinfomain %} | 9 | {% block projectinfomain %} |
10 | <div class="page-header"> | 10 | <div class="page-header"> |
11 | <h1> | 11 | <h1> |
12 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} | 12 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} |
13 | {{objects.paginator.count}} target{{objects.paginator.count|pluralize}} found | 13 | {{objects.paginator.count}} recipe{{objects.paginator.count|pluralize}} found |
14 | {% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} | 14 | {% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} |
15 | No targets found | 15 | No recipes found |
16 | {%else%} | 16 | {%else%} |
17 | All compatible targets | 17 | All compatible recipes |
18 | {%endif%} | 18 | {%endif%} |
19 | <i class="icon-question-sign get-help heading-help" title="This page lists all the targets compatible with the release selected for this project, which is {{project.release.description}}"></i> | 19 | <i class="icon-question-sign get-help heading-help" title="This page lists all the recipes compatible with the release selected for this project, which is {{project.release.description}}"></i> |
20 | </h1> | 20 | </h1> |
21 | </div> | 21 | </div> |
22 | 22 | ||
@@ -31,13 +31,13 @@ | |||
31 | <form class="no-results input-append" id="searchform"> | 31 | <form class="no-results input-append" id="searchform"> |
32 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} | 32 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} |
33 | <button class="btn" type="submit" value="Search">Search</button> | 33 | <button class="btn" type="submit" value="Search">Search</button> |
34 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all targets</button> | 34 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all recipes</button> |
35 | </form> | 35 | </form> |
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | {% else %} | 38 | {% else %} |
39 | <div class="alert alert-info lead"> | 39 | <div class="alert alert-info lead"> |
40 | <p>Toaster has no target information. To generate target information you can:</p> | 40 | <p>Toaster has no recipe information. To generate recipe information you can:</p> |
41 | <ul> | 41 | <ul> |
42 | <li><a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a></li> | 42 | <li><a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a></li> |
43 | <li><a href="{% url 'importlayer' %}">Import a layer</a>, then run a build</li> | 43 | <li><a href="{% url 'importlayer' %}">Import a layer</a>, then run a build</li> |
@@ -78,7 +78,7 @@ | |||
78 | <td class="add-layer" value="{{o.pk}}" layerversion_id="{{o.preffered_layerversion.pk}}"> | 78 | <td class="add-layer" value="{{o.pk}}" layerversion_id="{{o.preffered_layerversion.pk}}"> |
79 | <div id="layer-tooltip-{{o.pk}}" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner">layer was modified</div> | 79 | <div id="layer-tooltip-{{o.pk}}" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner">layer was modified</div> |
80 | <a href="{% url 'project' project.id %}#/targetbuild={{o.name}}" id="target-build-{{o.pk}}" class="btn btn-block remove-layer" style="display:none;" > | 80 | <a href="{% url 'project' project.id %}#/targetbuild={{o.name}}" id="target-build-{{o.pk}}" class="btn btn-block remove-layer" style="display:none;" > |
81 | Build target | 81 | Build recipe |
82 | </a> | 82 | </a> |
83 | <a id="layer-add-{{o.pk}}" class="btn btn-block" style="display:none;" href="javascript:layerAdd({{o.preffered_layerversion.pk}}, '{{o.preffered_layerversion.layer.name}}', '{%url 'layerdetails' o.preffered_layerversion.pk%}', {{o.pk}})" > | 83 | <a id="layer-add-{{o.pk}}" class="btn btn-block" style="display:none;" href="javascript:layerAdd({{o.preffered_layerversion.pk}}, '{{o.preffered_layerversion.layer.name}}', '{%url 'layerdetails' o.preffered_layerversion.pk%}', {{o.pk}})" > |
84 | <i class="icon-plus"></i> | 84 | <i class="icon-plus"></i> |