summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-25 21:34:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-25 21:34:49 +0100
commita30970eb8b8ddb4c6a22f8d1715ebbad088d87e5 (patch)
tree007f7aa9415df4d82996e6c79103b3d5a97081a8
parent00efb2e32091605ddcc98e29698f55a44dea6cae (diff)
distinguish prod/dev in nav bar0.08
-rw-r--r--templates/layouts/default.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 2589788..eadc143 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -21,7 +21,7 @@
<nav class="deep-purple">
<div class="nav-wrapper container">
- <a href="/" class="brand-logo left">travelynx</a>
+ <a href="/" class="brand-logo left"><%= $ENV{TRAVELYNX_DB_NAME} eq 'travelynx_dev' ? 'develynx' : 'travelynx' %></a>
<ul id="nav-mobile" class="right">
% if (is_user_authenticated()) {
<li class="<%= navbar_class('/history') %>"><a href='/history' title="History"><i class="material-icons">history</i></a></li>