mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-08 05:26:57 +02:00
Remove commerce options from wearables ui
Remove Inventory & Marketplace option from Wearables GUI #275
This commit is contained in:
parent
4a7e9c77f2
commit
6b949f7ab3
2 changed files with 0 additions and 34 deletions
|
@ -235,22 +235,6 @@ Rectangle {
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
spacing: 10
|
|
||||||
|
|
||||||
RalewayBold {
|
|
||||||
size: 15;
|
|
||||||
lineHeightMode: Text.FixedHeight
|
|
||||||
lineHeight: 18;
|
|
||||||
text: "<a href='#'>Get more</a>"
|
|
||||||
linkColor: hifi.colors.blueHighlight
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
|
||||||
onLinkActivated: {
|
|
||||||
popup.showGetWearables(null, function(link) {
|
|
||||||
emitSendToScript({'method' : 'navigate', 'url' : link})
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
|
@ -56,24 +56,6 @@ MessageBox {
|
||||||
popup.inputText.forceActiveFocus();
|
popup.inputText.forceActiveFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function showGetWearables(callback, linkCallback) {
|
|
||||||
popup.dialogButtons.yesButton.visible = false;
|
|
||||||
popup.button1text = 'CANCEL'
|
|
||||||
popup.titleText = 'Get Wearables'
|
|
||||||
popup.bodyText = 'Get wearables from <b><a href="app://marketplace">Marketplace.</a></b>' + '<br/>' +
|
|
||||||
'Wear wearable from <b><a href="app://purchases">Inventory.</a></b>'
|
|
||||||
|
|
||||||
popup.onLinkClicked = function(link) {
|
|
||||||
popup.close();
|
|
||||||
|
|
||||||
if (linkCallback) {
|
|
||||||
linkCallback(link);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
popup.open();
|
|
||||||
}
|
|
||||||
|
|
||||||
function showDeleteFavorite(favoriteName, callback) {
|
function showDeleteFavorite(favoriteName, callback) {
|
||||||
popup.titleText = 'Delete Favorite: {AvatarName}'.replace('{AvatarName}', favoriteName)
|
popup.titleText = 'Delete Favorite: {AvatarName}'.replace('{AvatarName}', favoriteName)
|
||||||
popup.bodyText = 'This will delete your favorite. You will retain access to the wearables and avatar that made up the favorite from Inventory.'
|
popup.bodyText = 'This will delete your favorite. You will retain access to the wearables and avatar that made up the favorite from Inventory.'
|
||||||
|
|
Loading…
Reference in a new issue