Skip to content

Commit

Permalink
Show ical subscription link only for logged in
Browse files Browse the repository at this point in the history
users
  • Loading branch information
lucs7 committed Dec 13, 2024
1 parent 9ed39a2 commit 3572a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/Schedule/schedule.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<a href="#" class="schedule-style d-none d-md-block" id="schedule_week"
schedule-display="{ScheduleStyle::CondensedWeek}">{html_image src="table-week.png" altKey="CondensedWeekScheduleDisplay"}</a>
</div>
{if isset($SubscriptionUrl) && $SubscriptionUrl != null && $ShowSubscription}
{if isset($SubscriptionUrl) && $SubscriptionUrl != null && $ShowSubscription && $LoggedIn}
<div class="d-flex align-items-center"><i class="bi bi-rss-fill link-primary me-1"></i>
<a class="link-primary me-1" target="_blank" href="{$SubscriptionUrl->GetAtomUrl()}">Atom</a>
<div class="vr me-1"></div>
Expand Down

0 comments on commit 3572a88

Please sign in to comment.