Skip to content

Commit

Permalink
PT-12779: Redesign Not Authorized Order Statistics Dashboard (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO committed Jul 27, 2023
1 parent c4c153d commit e608c43
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"lines-per-order": "Lines per order",
"revenue-per-customer": "Revenue per customer",
"title": "Order Statistics",
"not-authorized": "Not Authorized. You do not currently have access to this feature. Please contact your account administrator for access."
"not-authorized": "You do not currently have access to this feature. Please contact your account administrator for access."
}
},
"dialogs": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<script type="text/ng-template" id="order-statistics-not-authorized.html">
<div class="gridster-cnt">
<div class="cnt-inner">
<div class="list-t">{{'orders.widgets.statistics-templates.title' | translate}}</div>
<div class="list-t" style="text-wrap: wrap; color: red;">{{'orders.widgets.statistics-templates.not-authorized' | translate}}</div>
<div class="vc-gridster">
<img class="vc-gridster__img" src="Modules/$(VirtoCommerce.Orders)/Content/order-statistic.svg" alt="">
<div class="vc-gridster__info">
<div class="vc-gridster__title">{{'orders.widgets.statistics-templates.title' | translate}}</div>
<div class="vc-gridster__description">
{{'orders.widgets.statistics-templates.not-authorized' | translate}}
</div>
</div>
</div>
</script>
Expand Down
6 changes: 3 additions & 3 deletions src/VirtoCommerce.OrdersModule.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<module>
<id>VirtoCommerce.Orders</id>
<version>3.401.0</version>
<version-tag />
<platformVersion>3.400.0</platformVersion>
<platformVersion>3.403.0</platformVersion>
<dependencies>
<dependency id="VirtoCommerce.Cart" version="3.400.0" />
<dependency id="VirtoCommerce.Catalog" version="3.401.0" />
Expand Down Expand Up @@ -35,4 +35,4 @@
<group>commerce</group>
</groups>
<useFullTypeNameInSwagger>false</useFullTypeNameInSwagger>
</module>
</module>

0 comments on commit e608c43

Please sign in to comment.