summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-12-05 11:26:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-18 10:24:08 +0000
commit6f3f05936c67dd24e04b356a46903720cadeb446 (patch)
tree8e62d4773dd297b331703e351c6f7aab3320d5a6 /bitbake/lib/toaster/toastergui/static
parentc89fd793986878a426ebc96d4df22257252f8934 (diff)
downloadpoky-6f3f05936c67dd24e04b356a46903720cadeb446.tar.gz
bitbake: toaster: Formatting changes to error messages
Just giving a bit of space to the content of the error messages we show when you try to import a layer that already exists. (Bitbake rev: 19b8ff1949072691dade96038af529200175843a) 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/static')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/importlayer.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/importlayer.js b/bitbake/lib/toaster/toastergui/static/js/importlayer.js
index 5748efd8ce..d6e140ffdc 100644
--- a/bitbake/lib/toaster/toastergui/static/js/importlayer.js
+++ b/bitbake/lib/toaster/toastergui/static/js/importlayer.js
@@ -169,7 +169,7 @@ function importLayerPageInit (ctx) {
169 169
170 var errorMsg = $("#import-error").fadeIn(); 170 var errorMsg = $("#import-error").fadeIn();
171 var errorType = error.error; 171 var errorType = error.error;
172 var body = errorMsg.children("span"); 172 var body = errorMsg.children("p");
173 var title = errorMsg.children("h3"); 173 var title = errorMsg.children("h3");
174 var optionsList = errorMsg.children("ul"); 174 var optionsList = errorMsg.children("ul");
175 var invalidLayerRevision = $("#invalid-layer-revision-hint"); 175 var invalidLayerRevision = $("#invalid-layer-revision-hint");
@@ -198,7 +198,7 @@ function importLayerPageInit (ctx) {
198 198
199 case 'hint-layer-exists-with-different-url': 199 case 'hint-layer-exists-with-different-url':
200 title.text("This layer already exists"); 200 title.text("This layer already exists");
201 body.html("A layer <strong>"+layerData.name+"</strong> already exists with a different Git repository URL:<br /><br />"+error.current_url+"<br /><br />You Can:"); 201 body.html("A layer <strong>"+layerData.name+"</strong> already exists with a different Git repository URL:<p style='margin-top:10px;'><strong>"+error.current_url+"</strong></p><p>You can:</p>");
202 optionsList.append("<li>Import the layer under a different name</li>"); 202 optionsList.append("<li>Import the layer under a different name</li>");
203 optionsList.append("<li>or <a href=\""+ctx.layerDetailsUrl+error.current_id+"/\" >change the Git repository URL of the existing layer</a></li>"); 203 optionsList.append("<li>or <a href=\""+ctx.layerDetailsUrl+error.current_id+"/\" >change the Git repository URL of the existing layer</a></li>");
204 duplicatedLayerName.html("A layer <strong>"+layerData.name+"</strong> already exists with a different Git repository URL.<br />To import this layer give it a different name."); 204 duplicatedLayerName.html("A layer <strong>"+layerData.name+"</strong> already exists with a different Git repository URL.<br />To import this layer give it a different name.");
@@ -208,7 +208,7 @@ function importLayerPageInit (ctx) {
208 208
209 case 'hint-layer-exists': 209 case 'hint-layer-exists':
210 title.text("This layer already exists"); 210 title.text("This layer already exists");
211 body.html("A layer <strong>"+layerData.name+"</strong> already exists: You Can:"); 211 body.html("A layer <strong>"+layerData.name+"</strong> already exists. You can:");
212 optionsList.append("<li>Import the layer under a different name</li>"); 212 optionsList.append("<li>Import the layer under a different name</li>");
213 break; 213 break;
214 default: 214 default: