summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-19 19:46:21 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-19 19:46:39 +0100
commitb80613b8a8dad252960d90f6a03227503e2ba133 (patch)
treeb861525de6e5bb54ca24ace890423570c8849e96 /templates
parent13e59b3aa1504154a90619069c963301e322904a (diff)
allow route input when adding journeys manually (#26)
Diffstat (limited to 'templates')
-rw-r--r--templates/add_journey.html.ep6
-rw-r--r--templates/journey.html.ep6
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep
index 58cd68b..c3bc01c 100644
--- a/templates/add_journey.html.ep
+++ b/templates/add_journey.html.ep
@@ -78,6 +78,12 @@
</div>
<div class="row">
<div class="input-field col s12">
+ %= text_area 'route', id => 'route', class => 'materialize-textarea'
+ <label for="route">Unterwegshalte (optional, eine Station pro Zeile, DS100 möglich)</label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
%= text_field 'comment'
<label for="comment">Kommentar</label>
</div>
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index 9b7ad9c..7be4f78 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -113,6 +113,9 @@
% else {
?
% }
+ % if ($journey->{edited} & 0x0010) {
+ ∗
+ % }
</td>
</tr>
<tr>
@@ -174,6 +177,9 @@
% else {
<span style="color: #666666;"><%= $station->[0] %></span>
% }
+ % if ($journey->{edited} & 0x0010) {
+ ∗
+ % }
<br/>
% }
</td>