Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
db-infoscreen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
db-infoscreen
Commits
25afe3f2
Unverified
Commit
25afe3f2
authored
2 months ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
always show scheduled arr/dep time
parent
62e1f672
No related branches found
Branches containing commit
Tags
4.32.1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/app.html.ep
+3
-3
3 additions, 3 deletions
templates/app.html.ep
with
3 additions
and
3 deletions
templates/app.html.ep
+
3
−
3
View file @
25afe3f2
...
...
@@ -105,12 +105,12 @@
% }
<span class="time <%= $show_realtime ? get_rt_time_class($departure) : q{} %>">
% if ($departure->{delay} and not $departure->{is_cancelled}) {
% if ($show_realtime) {
% if ($show_realtime
and ($departure->{sched_arrival} or $departure->{sched_departure})
) {
% if ($departure->{delay} > ($hide_low_delay ? 4 : 0)) {
<span class="delaynorm" aria-hidden="true">
+
<%= $departure->{
delay
} %> ⇒</span>
<span class="delaynorm" aria-hidden="true"><%= $departure->{
sched_departure} // $departure->{sched_arrival
} %> ⇒</span>
% }
% elsif ($departure->{delay} < 0) {
<span class="undelaynorm" aria-hidden="true"><%= $departure->{
delay
} %> ⇒</span>
<span class="undelaynorm" aria-hidden="true"><%= $departure->{
sched_departure} // $departure->{sched_arrival
} %> ⇒</span>
% }
% }
% else {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment