diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-01-26 15:11:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:34 +0000 |
commit | 088c19d6442653c6b39003057512d75b6c9508b7 (patch) | |
tree | 8086b1bf4d5b545d28c5eaea786bdf8bf5365ae6 /bitbake/lib/toaster/toastergui/templates/layerdetails.html | |
parent | 571d551a2de0961c7cf3f9463b406b7d667ff444 (diff) | |
download | poky-088c19d6442653c6b39003057512d75b6c9508b7.tar.gz |
bitbake: toastergui: consistent add / remove layer notifications
In my struggle to ensure consistency in the format and content
of the notifications we show when you add and remove layers to
a project, I've:
* added the project name to the notifications
in the layer details page
* removed the 'Go to project configuration' link
from the notifications in the layer details page
This changes align the notifications we show in the layer
details page with the ones we show in the 'all' pages.
(Bitbake rev: 87deeb2016cbfdaff5531e1badb58761af6df848)
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/layerdetails.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 207197bce6..a89ffb0312 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -23,6 +23,7 @@ | |||
23 | xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}", | 23 | xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}", |
24 | xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}", | 24 | xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}", |
25 | projectId : {{project.id}}, | 25 | projectId : {{project.id}}, |
26 | projectName : "{{project.name}}", | ||
26 | numTargets : {{total_targets}}, | 27 | numTargets : {{total_targets}}, |
27 | numMachines: {{machines|length}}, | 28 | numMachines: {{machines|length}}, |
28 | layerVersion : { | 29 | layerVersion : { |
@@ -73,7 +74,6 @@ | |||
73 | <div class="alert alert-info lead" id="alert-area" style="display:none"> | 74 | <div class="alert alert-info lead" id="alert-area" style="display:none"> |
74 | <button type="button" class="close" id="dismiss-alert" data-dismiss="alert">×</button> | 75 | <button type="button" class="close" id="dismiss-alert" data-dismiss="alert">×</button> |
75 | <span id="alert-msg"></span> | 76 | <span id="alert-msg"></span> |
76 | <p style="margin-top:10px;"><a href="{% url 'project' project.id %}">Go to project configuration</a></p> | ||
77 | </div> | 77 | </div> |
78 | <ul class="nav nav-pills"> | 78 | <ul class="nav nav-pills"> |
79 | <li class="active"> | 79 | <li class="active"> |