summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/okadmin/public/js/app.js1
-rw-r--r--themes/okadmin/templates/resource.liquid4
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 }}">