diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index 7558e69..a1fa685 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -65,7 +65,13 @@ function odelay(sched, rt) {
function tvly_run(link, req, err_callback) {
var error_icon = 'error';
- var progressbar = $('
');
+ var progressbar;
+ if (link.data('tr')) {
+ progressbar = $(' |
');
+ }
+ else {
+ progressbar = $('');
+ }
link.hide();
link.after(progressbar);
$.post('/action', req, function(data) {
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index d09f0c0..9b009df 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -7,10 +7,10 @@
% $td_class = 'cancelled';
% $link_class = 'action-cancelled-from';
% }
-
+
% if ($checkin_from) {
- <%= $train->line %>
+ <%= $train->line %>
% }
% else {
%= $train->line
@@ -18,7 +18,7 @@
|
% if ($checkin_from) {
- <%= $via %>
+ <%= $via %>
% }
% else {
%= $via
@@ -70,10 +70,10 @@
% $td_class = 'cancelled';
% $link_class = 'action-cancelled-from';
% }
- |
+
% if ($checkin_from) {
- <%= $train->line %>
+ <%= $train->line %>
% }
% else {
%= $train->line
@@ -81,7 +81,7 @@
|
% if ($checkin_from) {
- <%= $via %>
+ <%= $via %>
% }
% else {
%= $via
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 91b3331..220d951 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -86,14 +86,14 @@
|
% }
-
+
-
+
<%= $result->line %>
|
-
+
<%= $result->destination %>
|