diff options
author | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 16:02:28 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 16:02:28 +0700 |
commit | c73e858356ee9cec7bd8fd2b70bb575f82346980 (patch) | |
tree | 32886f9e9d9789799e9d28212c0387ca72ee33d6 /pages/results.html | |
parent | 636bd846bc1cf1af83e49da709d2230b00e7b4c0 (diff) |
add item name and price to results.html
Diffstat (limited to 'pages/results.html')
-rw-r--r-- | pages/results.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pages/results.html b/pages/results.html index aea3ff7..feaf8cf 100644 --- a/pages/results.html +++ b/pages/results.html @@ -61,11 +61,20 @@ $Scratch->{bw_more} = $more; return $Values->{more_link} ? $more : undef; [/calc][search-list] + <!-- Product --> <div class="col-lg-4 col-md-4"> - <a href="[area [item-code]]" class="d-block h-100"> - <img src="__IMAGE_DIR__/thumb/[item-field thumb]" class="img-fluid img-thumbnail" alt="[item-description]" title="[item-code]"> - </a> - </div>[/search-list][no-match] + <div class=" container"> + <a href="[area [item-code]]" class="d-block h-100"> + <img src="__IMAGE_DIR__/thumb/[item-field thumb]" class="img-fluid img-thumbnail" alt="[item-description]" title="[item-code]"> + </a> + </div> + <div class="container"> + <h4>[item-description]</h4> + <h5 class="text-primary">[item-price]</h5> + </div> + </div> + <!-- End of Product --> + [/search-list][no-match] <div>[comment] Don't show the search string if it was empty, since it looks weird and the user will see the error below anyway. |