Unverified Commit 1e49ecf1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

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

parent c1932078
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
% 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">
+3 −3
Original line number Diff line number Diff line
@@ -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>