checked-in view: move timeline link a bit to the bottom

This commit is contained in:
Birte Kristina Friesel 2023-07-16 08:45:41 +02:00
parent c19320788f
commit 1e49ecf145
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,4 @@
% my $user = current_user(); % my $user = current_user();
% if (@{stash('timeline') // []}) {
%= include '_timeline_link', timeline => stash('timeline')
% }
<div class="autorefresh"> <div class="autorefresh">
<div class="card"> <div class="card">
<div class="card-content"> <div class="card-content">
@ -304,6 +301,9 @@
% } % }
</div> </div>
</div> </div>
% if (@{stash('timeline') // []}) {
%= include '_timeline_link', timeline => stash('timeline'), from_checkin => 1
% }
% if ($journey->{arr_name}) { % if ($journey->{arr_name}) {
<div class="card" style="margin-top: 3em;"> <div class="card" style="margin-top: 3em;">
<div class="card-content"> <div class="card-content">

View file

@ -4,13 +4,13 @@
<strong><%= $timeline->[0]->{followee_name} %></strong> <strong><%= $timeline->[0]->{followee_name} %></strong>
% } % }
% if (@{$timeline} == 1) { % if (@{$timeline} == 1) {
ist gerade unterwegs ist gerade <%= stash('from_checkin') ? 'auch' : q{} %> unterwegs
% } % }
% elsif (@{$timeline} == 2) { % 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 { % else {
<strong><%= scalar @{$timeline} %></strong> Accounts sind gerade unterwegs <strong><%= scalar @{$timeline} %></strong> Accounts sind gerade <%= stash('from_checkin') ? 'auch' : q{} %>unterwegs
% } % }
</a> </a>
</div> </div>