diff --git a/src/frontend/dashboard.eta.html b/src/frontend/dashboard.eta.html index 71074cb..ee5aa54 100644 --- a/src/frontend/dashboard.eta.html +++ b/src/frontend/dashboard.eta.html @@ -38,7 +38,9 @@ <% it.recents.forEach(function(user){ %> - <%= user.SKU %> + <% if (user.SKU == null) { %> + No SKU assigned + <% } else { %> <%= user.SKU %> <% } %> <%= user.name %> <% if(user.status == "normal") { %> diff --git a/src/frontend/items.eta.html b/src/frontend/items.eta.html index 7990d54..b7562d0 100644 --- a/src/frontend/items.eta.html +++ b/src/frontend/items.eta.html @@ -1,4 +1,4 @@ -<%~ E.includeFile("partials/head.eta.html", {"title": "Items"}) %> <%~ E.includeFile("partials/controls.eta.html", {"active": "Items"}) %> +<%~ E.includeFile("partials/head.eta.html", {"title": "Items"}) %> <%~ E.includeFile("partials/controls.eta.html", {"active": "Items"}) %> <%~ E.includeFile("./partials/deleteModal.eta.html") %> - + <%~ E.includeFile("partials/controlsFoot.eta.html") %> <%~ E.includeFile("partials/foot.eta.html") %> diff --git a/src/frontend/partials/controls.eta.html b/src/frontend/partials/controls.eta.html index 4e78b04..49004b7 100644 --- a/src/frontend/partials/controls.eta.html +++ b/src/frontend/partials/controls.eta.html @@ -14,7 +14,7 @@ @@ -28,6 +28,15 @@ +
+ +
+
- \ No newline at end of file + + \ No newline at end of file diff --git a/src/frontend/partials/deleteModal.eta.html b/src/frontend/partials/deleteModal.eta.html index d4ad5a5..22ed8bb 100644 --- a/src/frontend/partials/deleteModal.eta.html +++ b/src/frontend/partials/deleteModal.eta.html @@ -3,7 +3,7 @@