summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-01-20 03:23:17 +0100
committerJules Laplace <jules@okfoc.us>2016-01-20 03:23:17 +0100
commit77adbf331bb592b9a4e5e12a7507b372ef812ec0 (patch)
tree94768ce900ddaf1935ec16a0a21a983ecd5b5791 /StoneIsland/www/js/lib/products
parent5034bba697b51fddc64f956fb087254bf85ccd14 (diff)
store closed messages
Diffstat (limited to 'StoneIsland/www/js/lib/products')
-rwxr-xr-xStoneIsland/www/js/lib/products/ClosedStoreView.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/products/ClosedStoreView.js b/StoneIsland/www/js/lib/products/ClosedStoreView.js
index 84496822..2f242ba4 100755
--- a/StoneIsland/www/js/lib/products/ClosedStoreView.js
+++ b/StoneIsland/www/js/lib/products/ClosedStoreView.js
@@ -22,12 +22,12 @@ var ClosedStoreView = View.extend({
document.body.className = "closed"
this.animate()
app.footer.hide()
- if (this.storeOpenDate) {
- var date = this.storeOpenDate
- $(".closed_store_msg h3").html("THIS STORE WILL OPEN ON " + date)
+ $(".closed_store_msg h3").html(app.closed.storeClosedMessageOne || "THIS STORE IS CURRENTLY CLOSED")
+ if (app.closed.storeClosedMessageTwo) {
+ $(".closed_store_msg h4").show().html(app.closed.storeClosedMessageTwo)
}
else {
- $(".closed_store_msg h3").html("THIS STORE IS CURRENTLY CLOSED")
+ $(".closed_store_msg h4").hide()
}
},