distinguish prod/dev in nav bar

This commit is contained in:
Daniel Friesel 2019-03-25 21:34:49 +01:00
parent 00efb2e320
commit a30970eb8b

View file

@ -21,7 +21,7 @@
<nav class="deep-purple"> <nav class="deep-purple">
<div class="nav-wrapper container"> <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"> <ul id="nav-mobile" class="right">
% if (is_user_authenticated()) { % if (is_user_authenticated()) {
<li class="<%= navbar_class('/history') %>"><a href='/history' title="History"><i class="material-icons">history</i></a></li> <li class="<%= navbar_class('/history') %>"><a href='/history' title="History"><i class="material-icons">history</i></a></li>