mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
checked-in view: move timeline link a bit to the bottom
This commit is contained in:
parent
c19320788f
commit
1e49ecf145
2 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,4 @@
|
|||
% my $user = current_user();
|
||||
% if (@{stash('timeline') // []}) {
|
||||
%= include '_timeline_link', timeline => stash('timeline')
|
||||
% }
|
||||
<div class="autorefresh">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
|
@ -304,6 +301,9 @@
|
|||
% }
|
||||
</div>
|
||||
</div>
|
||||
% if (@{stash('timeline') // []}) {
|
||||
%= include '_timeline_link', timeline => stash('timeline'), from_checkin => 1
|
||||
% }
|
||||
% if ($journey->{arr_name}) {
|
||||
<div class="card" style="margin-top: 3em;">
|
||||
<div class="card-content">
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<strong><%= $timeline->[0]->{followee_name} %></strong>
|
||||
% }
|
||||
% if (@{$timeline} == 1) {
|
||||
ist gerade unterwegs
|
||||
ist gerade <%= stash('from_checkin') ? 'auch' : q{} %> unterwegs
|
||||
% }
|
||||
% elsif (@{$timeline} == 2) {
|
||||
und <strong><%= $timeline->[1]->{followee_name} %></strong> sind gerade unterwegs
|
||||
und <strong><%= $timeline->[1]->{followee_name} %></strong> sind gerade <%= stash('from_checkin') ? 'auch' : q{} %>unterwegs
|
||||
% }
|
||||
% else {
|
||||
<strong><%= scalar @{$timeline} %></strong> Accounts sind gerade unterwegs
|
||||
<strong><%= scalar @{$timeline} %></strong> Accounts sind gerade <%= stash('from_checkin') ? 'auch' : q{} %>unterwegs
|
||||
% }
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue