summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/account.html.ep2
-rw-r--r--templates/api_documentation.html.ep4
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index be61518..2cc7f35 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -170,6 +170,7 @@
%= end
</td>
</tr>-->
+ % if (app->mode eq 'development') {
<tr>
<th scope="row">Travel</th>
<td>
@@ -216,6 +217,7 @@
%= end
</td>
</tr>
+ % }
</table>
</div>
</div>
diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep
index cf3a57a..2e3e66d 100644
--- a/templates/api_documentation.html.ep
+++ b/templates/api_documentation.html.ep
@@ -65,6 +65,8 @@
</div>
</div>
+% if (app->mode eq 'development') {
+
<h2>Travel</h2>
<div class="row">
<div class="col s12">
@@ -188,3 +190,5 @@
</p>
</div>
</div>
+
+% }