diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-10 18:20:22 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-10 18:20:22 -0400 |
| commit | 71c3a4a02c7c46533aec836ef30a0d0ffa96399b (patch) | |
| tree | cd8d6a7339cae86c7161ae116bd22d73f3793599 /views | |
| parent | 18e8ca03b90f124968400ccc742744c3ed01547a (diff) | |
layout stuff
Diffstat (limited to 'views')
| -rw-r--r-- | views/staff/_layouts.ejs | 2 | ||||
| -rw-r--r-- | views/staff/layouts/show.ejs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/staff/_layouts.ejs b/views/staff/_layouts.ejs index 3f3e6b2..d97883b 100644 --- a/views/staff/_layouts.ejs +++ b/views/staff/_layouts.ejs @@ -1,5 +1,5 @@ <table id="users"> -[[ layouts.forEach(function(project){ ]] +[[ layouts.forEach(function(layout){ ]] <tr> <td> <a href="/staff/layouts/[[- layout.slug ]]">[[- layout.name ]]</a> diff --git a/views/staff/layouts/show.ejs b/views/staff/layouts/show.ejs index 0a2014b..b66449f 100644 --- a/views/staff/layouts/show.ejs +++ b/views/staff/layouts/show.ejs @@ -45,14 +45,14 @@ featured? </th> <td id="isStockLayout"> - [[- layout.plan_type == 0 ? "yes" : "no" ]] + [[- layout.is_stock ? "yes" : "no" ]] </td> </tr> </table> <br><br> <div id="actions"> - <button id="toggle-stock" data-stock="[[- !! (layout.plan_type == 0) ]]">Make this layout Stock</button> + <button id="toggle-stock" data-stock="[[- !! (layout.is_stock) ]]">Make this layout Stock</button> </div> <br> |
