summaryrefslogtreecommitdiff
path: root/templates/layouts/app.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/app.html.ep')
-rw-r--r--templates/layouts/app.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 6189c9c..9d32bf7 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -38,7 +38,12 @@
%= stash('title') || 'DBF'
</span>
<ul id="nav-mobile" style="float: right;">
- <li><a href="#stationinput"><i class="material-icons">edit</i></a></li>
+ % if (stash('hide_opts')) {
+ <li><a href="/"><i class="material-icons">edit</i></a></li>
+ % }
+ % else {
+ <li><a href="#stationinput"><i class="material-icons">edit</i></a></li>
+ % }
<li><a href="/_auto"><i class="material-icons">my_location</i></a></li>
</ul>
</div>