Advertisement
desislava_topuzakova

Untitled

Mar 28th, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
  2. <VBox class="sapUiSmallMarginTop sapUiSmallMarginBegin sapUiTinyMarginBottom" width="95%" visible="{= !!${reusable>/wizardDTO/solutionDTO/name}}">
  3. <Title text="{i18n>xcol_appliance_template}" />
  4. <Text id="solutionNameInWizard" text="{reusable>/wizardDTO/solutionDTO/name}" class="bold" />
  5. </VBox>
  6.  
  7. <VBox class="sapUiSmallMarginTop sapUiSmallMarginBegin sapUiTinyMarginBottom" visible="{= !!${reusable>/accountDetails/cloudProvider}}" width="95%">
  8. <Title text="{i18n>xcap_account}" />
  9. <Text text="{reusable>/accountDetails/name}" class="bold" />
  10. <Text text="{path: 'reusable>/accountDetails/cloudProvider', formatter: '.getProviderName'}" />
  11. </VBox>
  12.  
  13. <VBox class="sapUiSmallMarginTop sapUiSmallMarginBegin" visible="{reusable>/forecastVisible}" width="95%">
  14. <Title id="costForecastTitle" text="{path: '/isCreateSession', formatter: '.getCostForecastTitle'}" wrapping="true" />
  15. <Link text="{i18n>xlink_disclaimer}" press=".onShowForecastDisclaimer" tooltip="{path: '/isCreateSession', formatter: '.getCostForecastDisclaimerTooltip'}" />
  16. <VBox
  17. visible="{parts: ['reusable>/status', 'reusable>/forecast/hourPrice', 'reusable>/forecast/hourEbsPrice'], formatter: '.getCostForecastVisisbility'}">
  18. <ObjectNumber id="forecastTotalHourPrice" class="sapUiTinyMarginTop sapMObjectNumberLarge"
  19. number="{parts: ['reusable>/forecast/totalHourPrice', 'reusable>/forecast/currency'], type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: true, preserveDecimals: false}}" />
  20. <Text text="{i18n>xcap_per_hour}" class="sapUiTinyMarginBottom" />
  21. <HBox alignItems="Center">
  22. <ObjectNumber id="forecastTotalPrice" class="sapUiTinyMarginTop sapMObjectNumberLarge"
  23. number="{parts: ['reusable>/forecast/totalPrice', 'reusable>/forecast/currency'], type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: true, preserveDecimals: false}}"/>
  24. <Button id="forecastTotalPriceMoreInformation" class="sapUiTinyMarginBegin sapUiTinyMarginTop" type="Transparent" icon="sap-icon://message-information" press="onForecastPricePerMonthInfo" />
  25. </HBox>
  26. <Text text="{parts: ['reusable>/schedule/forTerminate', 'reusable>/schedule/forSuspend', 'reusable>/schedule/noSchedule', 'reusable>/status'], formatter: '.getForecastSecondUnit'}" />
  27. </VBox>
  28. <Text text="{i18n>xmsg_users_timestamp_not_available}"
  29. visible="{parts: ['reusable>/status', 'reusable>/forecast/hourPrice', 'reusable>/forecast/hourEbsPrice'], formatter: '.getNATextVisisbility'}" />
  30. <MessageStrip id="suspendAfterEightHoursMessage" visible="{= ${/isBasicMode} === true}" type="Warning" class="sapUiSmallMarginTop sapUiTinyMarginEnd" showIcon="true"
  31. text="{path: 'reusable>/virtualMachine/hasOptionalVAs', formatter: '.getBaseWizardSideText'}" />
  32. <MessageStrip id="gcpDiscountsMessage"
  33. visible="{parts: ['reusable>/accountDetails/cloudProvider', '/internalMode'], formatter: '.isGcpDiscountsMessageShown'}"
  34. type="Information"
  35. class="sapUiSmallMarginTop sapUiTinyMarginEnd"
  36. showIcon="true"
  37. text="{parts: [
  38. 'i18n>xmsg_wizard_gcp_costs_discount_message',
  39. 'webLinks>/GOOGLE_SUSTAINED_USE_DISCOUNTS'
  40. ], formatter: '.formatTranslatableMessage'}"
  41. enableFormattedText="true" />
  42. <MessageStrip id="multicloudDiscountsMessage"
  43. visible="{parts: ['/internalMode', 'reusable>/accountDetails/isMulticloud', '/isCreateAccount'], formatter: '.isVisibleMulticloudDiscount'}"
  44. type="Information"
  45. class="sapUiSmallMarginTop sapUiTinyMarginEnd"
  46. showIcon="true"
  47. text="{parts: [
  48. 'i18n>xmsg_multicloud_discount_message',
  49. 'webLinks>/MULTICLOUD_DISCOUNTS'
  50. ], formatter: '.formatTranslatableMessage'}"
  51. enableFormattedText="true" />
  52. </VBox>
  53.  
  54. <VBox class="sapUiSmallMarginBegin" width="95%">
  55. <MessageStrip
  56. id="ipRangeWarningMessage"
  57. visible="{parts: ['/internalMode', '/isBasicMode', 'reusable>/instanceDetails/selectedNetwork/isRestrictedOutsideOfCal', 'reusable>/sapIpRanges/ranges', 'reusable>/virtualMachine/accessPoints'], formatter: '.isUserIpRangeWarningVisible'}"
  58. type="Warning" class="sapUiSmallMarginTop sapUiTinyMarginEnd" showIcon="true" enableFormattedText="true"
  59. text="{parts: ['reusable>/sapIpRanges/userIpRange', 'reusable>/instanceDetails/selectedNetwork'], formatter: '.getUserIpRangeWarningText'} ">
  60. </MessageStrip>
  61. </VBox>
  62.  
  63. </core:FragmentDefinition>
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement