summaryrefslogtreecommitdiff
path: root/templates/inventoryListing.hamlet
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-28 12:51:25 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-28 12:51:25 +0200
commit72b9f29c057eb45d022b9bbc1562d7b84ccc165b (patch)
tree978b71348b0dce981adf55c72ced58e8a750a17b /templates/inventoryListing.hamlet
parent08759871bcc3dc3b461650232747e58653535cdb (diff)
downloadbar-72b9f29c057eb45d022b9bbc1562d7b84ccc165b.tar
bar-72b9f29c057eb45d022b9bbc1562d7b84ccc165b.tar.gz
bar-72b9f29c057eb45d022b9bbc1562d7b84ccc165b.tar.bz2
bar-72b9f29c057eb45d022b9bbc1562d7b84ccc165b.tar.xz
bar-72b9f29c057eb45d022b9bbc1562d7b84ccc165b.zip
Running low
Diffstat (limited to 'templates/inventoryListing.hamlet')
-rw-r--r--templates/inventoryListing.hamlet5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/inventoryListing.hamlet b/templates/inventoryListing.hamlet
index 797bd81..cc1c9ce 100644
--- a/templates/inventoryListing.hamlet
+++ b/templates/inventoryListing.hamlet
@@ -6,6 +6,7 @@
6 <div .th>Bought 6 <div .th>Bought
7 <div .th>Expires 7 <div .th>Expires
8 <div .th>Opened 8 <div .th>Opened
9 <div .th>Status
9 <div .th>Actions 10 <div .th>Actions
10 $if isJust (preview insertForm =<< formState) 11 $if isJust (preview insertForm =<< formState)
11 $with Just InsertForm{..} <- formState 12 $with Just InsertForm{..} <- formState
@@ -52,6 +53,10 @@
52 <button type=submit> 53 <button type=submit>
53 Open 54 Open
54 <div .td> 55 <div .td>
56 <ul .status>
57 $if itemRunningLow
58 <li>Running low
59 <div .td>
55 <form method=get action=@{UpdateItemR itemId}##{toPathPiece itemId}> 60 <form method=get action=@{UpdateItemR itemId}##{toPathPiece itemId}>
56 <button type=submit> 61 <button type=submit>
57 Edit 62 Edit