mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-26 09:57:23 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
6868b7238a
commit
1a25988948
@ -456,7 +456,14 @@ define(function(require) {
|
||||
buttonContext = $("#" + customId + "main_buttons", buttonsRow);
|
||||
text = button.text;
|
||||
strClass.push("button");
|
||||
buttonCode = "<button class=\"" + strClass.join(" ") + "\" href=\"" + buttonName + "\">" + text + "</button>";
|
||||
options = {
|
||||
class: strClass.join(" "),
|
||||
href: buttonName,
|
||||
}
|
||||
if(button && button.tip){
|
||||
options.title = button.tip;
|
||||
}
|
||||
buttonCode = $("<button>",options).append(text);
|
||||
}
|
||||
|
||||
buttonContext.append(buttonCode);
|
||||
|
@ -30,11 +30,13 @@ define(function(require) {
|
||||
},
|
||||
"MarketPlaceApp.download_opennebula_dialog" : {
|
||||
type: "action",
|
||||
text: '<i class="fas fa-lg fa-cloud-download-alt"/>'
|
||||
text: '<i class="fas fa-lg fa-cloud-download-alt"/>',
|
||||
tip: Locale.tr('Import')
|
||||
},
|
||||
"MarketPlaceApp.download_local" : {
|
||||
type: "action",
|
||||
text: '<i class="fas fa-lg fa-download"/>'
|
||||
text: '<i class="fas fa-lg fa-download"/>',
|
||||
tip: Locale.tr('Download')
|
||||
},
|
||||
"MarketPlaceApp.chown" : {
|
||||
type: "confirm_with_select",
|
||||
|
Loading…
x
Reference in New Issue
Block a user