mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #4217: Rename actions in sunstone
From image: Upload to marketplace From app: Download to opennebula, download locally
This commit is contained in:
parent
5c2ebb126c
commit
9451e6de39
@ -461,7 +461,7 @@ tabs:
|
||||
Image.refresh: true
|
||||
Image.create_dialog: true
|
||||
Image.import_dialog: false
|
||||
Image.export_dialog: true
|
||||
Image.upload_marketplace_dialog: true
|
||||
Image.rename: true
|
||||
Image.chown: true
|
||||
Image.chgrp: true
|
||||
@ -548,8 +548,8 @@ tabs:
|
||||
actions:
|
||||
MarketPlaceApp.refresh: true
|
||||
MarketPlaceApp.create_dialog: true
|
||||
MarketPlaceApp.export_dialog: true
|
||||
MarketPlaceApp.download: true
|
||||
MarketPlaceApp.download_opennebula_dialog: true
|
||||
MarketPlaceApp.download_local: true
|
||||
MarketPlaceApp.rename: true
|
||||
MarketPlaceApp.chown: true
|
||||
MarketPlaceApp.chgrp: true
|
||||
|
@ -547,8 +547,8 @@ tabs:
|
||||
actions:
|
||||
MarketPlaceApp.refresh: true
|
||||
MarketPlaceApp.create_dialog: true
|
||||
MarketPlaceApp.export_dialog: true
|
||||
MarketPlaceApp.download: true
|
||||
MarketPlaceApp.download_opennebula_dialog: true
|
||||
MarketPlaceApp.download_local: true
|
||||
MarketPlaceApp.rename: true
|
||||
MarketPlaceApp.chown: true
|
||||
MarketPlaceApp.chgrp: true
|
||||
|
@ -460,7 +460,7 @@ tabs:
|
||||
Image.refresh: true
|
||||
Image.create_dialog: true
|
||||
Image.import_dialog: false
|
||||
Image.export_dialog: true
|
||||
Image.upload_marketplace_dialog: true
|
||||
Image.rename: true
|
||||
Image.chown: true
|
||||
Image.chgrp: true
|
||||
@ -547,8 +547,8 @@ tabs:
|
||||
actions:
|
||||
MarketPlaceApp.refresh: true
|
||||
MarketPlaceApp.create_dialog: true
|
||||
MarketPlaceApp.export_dialog: true
|
||||
MarketPlaceApp.download: true
|
||||
MarketPlaceApp.download_opennebula_dialog: true
|
||||
MarketPlaceApp.download_local: true
|
||||
MarketPlaceApp.rename: true
|
||||
MarketPlaceApp.chown: true
|
||||
MarketPlaceApp.chgrp: true
|
||||
|
@ -460,7 +460,7 @@ tabs:
|
||||
actions:
|
||||
Image.refresh: true
|
||||
Image.create_dialog: true
|
||||
Image.export_dialog: true
|
||||
Image.upload_marketplace_dialog: true
|
||||
Image.rename: true
|
||||
Image.chown: true
|
||||
Image.chgrp: true
|
||||
@ -547,8 +547,8 @@ tabs:
|
||||
actions:
|
||||
MarketPlaceApp.refresh: true
|
||||
MarketPlaceApp.create_dialog: true
|
||||
MarketPlaceApp.export_dialog: true
|
||||
MarketPlaceApp.download: true
|
||||
MarketPlaceApp.download_opennebula_dialog: true
|
||||
MarketPlaceApp.download_local: true
|
||||
MarketPlaceApp.rename: true
|
||||
MarketPlaceApp.chown: true
|
||||
MarketPlaceApp.chgrp: true
|
||||
|
@ -464,7 +464,7 @@ tabs:
|
||||
Image.refresh: true
|
||||
Image.create_dialog: true
|
||||
Image.import_dialog: false
|
||||
Image.export_dialog: true
|
||||
Image.upload_marketplace_dialog: true
|
||||
Image.rename: true
|
||||
Image.chown: false
|
||||
Image.chgrp: false
|
||||
@ -551,8 +551,8 @@ tabs:
|
||||
actions:
|
||||
MarketPlaceApp.refresh: true
|
||||
MarketPlaceApp.create_dialog: true
|
||||
MarketPlaceApp.export_dialog: true
|
||||
MarketPlaceApp.download: true
|
||||
MarketPlaceApp.download_opennebula_dialog: true
|
||||
MarketPlaceApp.download_local: true
|
||||
MarketPlaceApp.rename: true
|
||||
MarketPlaceApp.chown: true
|
||||
MarketPlaceApp.chgrp: true
|
||||
|
@ -62,7 +62,7 @@ define(function(require) {
|
||||
"Image.snapshot_flatten": _commonActions.singleAction("snapshot_flatten"),
|
||||
"Image.snapshot_revert": _commonActions.singleAction("snapshot_revert"),
|
||||
"Image.snapshot_delete": _commonActions.singleAction("snapshot_delete"),
|
||||
"Image.export_dialog" : {
|
||||
"Image.upload_marketplace_dialog" : {
|
||||
type: "custom",
|
||||
call: function(params) {
|
||||
var selectedNodes = Sunstone.getDataTable(TAB_ID).elements();
|
||||
|
@ -27,9 +27,9 @@ define(function(require) {
|
||||
type: "create_dialog",
|
||||
layout: "create"
|
||||
},
|
||||
"Image.export_dialog" : {
|
||||
"Image.upload_marketplace_dialog" : {
|
||||
type: "action",
|
||||
text: '<i class="fa fa-share-alt"/>'
|
||||
text: '<i class="fa fa-share"/> '+ Locale.tr("MarketPlace")
|
||||
},
|
||||
"Image.import_dialog" : {
|
||||
type: "create_dialog",
|
||||
|
@ -35,7 +35,7 @@ define(function(require) {
|
||||
var _actions = {
|
||||
"MarketPlaceApp.create" : _commonActions.create(CREATE_DIALOG_ID),
|
||||
"MarketPlaceApp.create_dialog" : _commonActions.showCreate(CREATE_DIALOG_ID),
|
||||
"MarketPlaceApp.export_dialog" : {
|
||||
"MarketPlaceApp.download_opennebula_dialog" : {
|
||||
type: "custom",
|
||||
call: function() {
|
||||
var selected_nodes = Sunstone.getDataTable(TAB_ID).elements();
|
||||
@ -91,7 +91,7 @@ define(function(require) {
|
||||
},
|
||||
notify: true
|
||||
},
|
||||
"MarketPlaceApp.download": {
|
||||
"MarketPlaceApp.download_local": {
|
||||
type: "multiple",
|
||||
call: function(params) {
|
||||
var selected_nodes = Sunstone.getDataTable(TAB_ID).elements();
|
||||
|
@ -27,13 +27,13 @@ define(function(require) {
|
||||
type: "create_dialog",
|
||||
layout: "create"
|
||||
},
|
||||
"MarketPlaceApp.export_dialog" : {
|
||||
"MarketPlaceApp.download_opennebula_dialog" : {
|
||||
type: "action",
|
||||
text: Locale.tr("Export to OpenNebula")
|
||||
text: '<i class="fa fa-share"/> '+ Locale.tr("OpenNebula")
|
||||
},
|
||||
"MarketPlaceApp.download" : {
|
||||
"MarketPlaceApp.download_local" : {
|
||||
type: "action",
|
||||
text: '<i class="fa fa-download"/>'
|
||||
text: '<i class="fa fa-lg fa-cloud-download"/>'
|
||||
},
|
||||
"MarketPlaceApp.chown" : {
|
||||
type: "confirm_with_select",
|
||||
|
@ -52,8 +52,8 @@ define(function(require) {
|
||||
this.tabId = TAB_ID;
|
||||
this.actions = {
|
||||
'export': {
|
||||
'title': Locale.tr("Export App To OpenNebula"),
|
||||
'buttonText': Locale.tr("Export"),
|
||||
'title': Locale.tr("Download App To OpenNebula"),
|
||||
'buttonText': Locale.tr("Download"),
|
||||
'resetButton': false
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user