diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-13 19:28:42 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-13 19:28:42 -0400 |
| commit | db3775794623ebbc63efb44e545b66f2accfd728 (patch) | |
| tree | 71ee9e4c06bef5aa1a7fd534c4b5ec8b23f94dbe /themes | |
| parent | 455c09226f1bc57021147e889ef1127e982ed67c (diff) | |
testing stuff
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/okadmin/public/js/app.js | 1 | ||||
| -rw-r--r-- | themes/okadmin/templates/resource.liquid | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/themes/okadmin/public/js/app.js b/themes/okadmin/public/js/app.js index aa8d0ad..990a75d 100644 --- a/themes/okadmin/public/js/app.js +++ b/themes/okadmin/public/js/app.js @@ -63,7 +63,6 @@ var OKAdmin = function(){ if ($menu.length && ! $menu.val()) { $menu.val( $title.val() ) - return } // TODO: pass through whether this page is static diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid index aa3efe0..9454123 100644 --- a/themes/okadmin/templates/resource.liquid +++ b/themes/okadmin/templates/resource.liquid @@ -3,7 +3,9 @@ {% include 'partials/flash' %} <nav class="resource-nav"> - <a href="../..">Back</a> + <a href="../..">Back</a><br> + <br> + <a href="/admin/{{ resource.type }}/__new__/">ADD ANOTHER</a> </nav> <section class="resource main" data-type="{{ resource.type }}" data-id="{{ resource.id }}"> |
