From 1cca278baac0f50012e524eac7c441c998f4d8c3 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 15 Jul 2023 19:20:37 +0200 Subject: add timeline / current checkins --- templates/_timeline_link.html.ep | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/_timeline_link.html.ep (limited to 'templates/_timeline_link.html.ep') diff --git a/templates/_timeline_link.html.ep b/templates/_timeline_link.html.ep new file mode 100644 index 0000000..782906e --- /dev/null +++ b/templates/_timeline_link.html.ep @@ -0,0 +1,16 @@ +
+ + % if (@{$timeline} <= 2) { + <%= $timeline->[0]->{followee_name} %> + % } + % if (@{$timeline} == 1) { + ist gerade unterwegs + % } + % elsif (@{$timeline} == 2) { + und <%= $timeline->[1]->{followee_name} %> sind gerade unterwegs + % } + % else { + <%= scalar @{$timeline} %> Accounts sind gerade unterwegs + % } + +
-- cgit v1.2.3