diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-04-07 17:27:34 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-04-07 17:27:34 -0400 |
| commit | 8e7b4870af5fa371a36af83c94ecec1655548679 (patch) | |
| tree | 00bb01e08c78792ab91dcd4f9c81542987ea4f77 | |
| parent | edaa49db61e331d29d7a59875b3147cc5fbce87e (diff) | |
rename to project.disabled so you can see this state in the cms
| -rw-r--r-- | index.js | 2 | ||||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | templates/index.liquid | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -42,7 +42,7 @@ var app = okcms.createApp({ mobileMedia: {type: 'media-list'}, press: {type: 'link-list'}, whiteCursor: {type: 'flag'}, - hideProject: {type: 'flag'}, + disabled: {type: 'flag'}, }, }, diff --git a/package.json b/package.json index 7dae23f..201d764 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dependencies": { "dotenv": "^2.0.0", "object-assign": "^2.0.0", - "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.27" + "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.28" }, "devDependencies": { "grunt": "^0.4.5", diff --git a/templates/index.liquid b/templates/index.liquid index a932851..722bad4 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -33,7 +33,7 @@ <li data-id="cover">Cover</li> <li data-id="introduction">Introduction</li> {% for project in projects %} - {% unless project.hideProject %} + {% unless project.disabled %} <li data-id="{{ project.id }}"> <u class='desktoptitle'>{{ project.title }}</u> <u class='mobiletitle'>{% if project.mobileTitle %}{{ project.mobileTitle }}{% else %}{{ project.title }}{% endif %}</u> @@ -119,7 +119,7 @@ <div class="right"></div> </div> {% for project in projects %} - {% unless project.hideProject %} + {% unless project.disabled %} <div class="item" data-id="{{ project.id }}"> <div class="top {% if project.media[2] %}gallery{% else %}single{% endif %} {% if project.whiteCursor %}whitecursor{% endif %}"> {% for media in project.media %} |
