]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toastergui: Generic message for the layer details empty states
authorBelen Barros Pena <belen.barros.pena@intel.com>
Mon, 26 Jan 2015 13:42:44 +0000 (13:42 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 27 Jan 2015 14:24:18 +0000 (14:24 +0000)
In the layer details page, change the message you see when
the number of targets or machines provided by a layer is
0, either because that's what's reported by a layer index
instance, or because Toaster does not have any information
about the layer.

The new message is more generic, in order to fit layers from
all layer sources.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
lib/toaster/toastergui/templates/layerdetails.html

index 9286df656c1d18deb95749bd394bc8842caa5105..207197bce64a813cf0c02b94bb7ace1f9606475e 100644 (file)
                 <div name="targets" id="targets" class="tab-pane">
                   {% if total_targets == 0 %}
                   <div class="alert alert-info">
-                    <strong>There is no target data for {{layerversion.layer.name}} ... yet</strong> <br />
-                    Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
-                    here the targets it provides.
+                    There is no target information for the <strong> {{layerversion.layer.name}} </strong> layer.
                   </div>
                   {% else %}
 
                 <div name="machines" id="machines" class="tab-pane">
                   {% if total_machines == 0 %}
                   <div class="alert alert-info">
-                    <strong>There is no machine data for {{layerversion.layer.name}} ... yet</strong> <br />
-                    Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
-                    here the machines it provides.
+                    There is no machine information for the <strong>{{layerversion.layer.name}}</strong> layer.
                   </div>
                   {% else %}