From 4b3867e47f108b4f632d7208a9ecfef11d21182c Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Thu, 19 Mar 2020 12:29:32 +1030 Subject: [PATCH] Placeholder on dashboard when no images --- public/images/placeholder.png | Bin 0 -> 306 bytes views/dashboard.hbs | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 public/images/placeholder.png diff --git a/public/images/placeholder.png b/public/images/placeholder.png new file mode 100644 index 0000000000000000000000000000000000000000..ed8ad8cb540d06b75b080ba1b50e3a8d10137b27 GIT binary patch literal 306 zcmeAS@N?(olHy`uVBq!ia0vp^vq6}J8A!JKf7uVDqyv0HT+f_2Gi}*?YclF|6~yft5w zgM{nD*B>^?bZ|~f=rMi6&{-&(cTjbO^z?&y9W4tD#GZTe9o7BEBLvh22K&=RpZ+{+ zYOb5Q=FH~{JJOadU9>qgD)Y_nEfGbVZt?XOoSgD%uVzS^sQhokmswWzT=v^s3rp?fO5Oe`5ZulAgZl s(3E>y9>simaePYIt}0=u?GNJjFs`?ia(q91PZ~(b)78&qol`;+07-*`AOHXW literal 0 HcmV?d00001 diff --git a/views/dashboard.hbs b/views/dashboard.hbs index cf7847b..79528a9 100644 --- a/views/dashboard.hbs +++ b/views/dashboard.hbs @@ -56,7 +56,11 @@ {{#if dashboardData.topProducts}} {{#each dashboardData.topProducts}}
  • - + {{#if this.productImage}} + image {{this.productTitle}} + {{else}} + mage {{this.productTitle}} + {{/if}}
    {{this.title}}

    Sold: {{this.count}}