Skip to content

Commit

Permalink
Merge pull request #468 from lucs7/develop
Browse files Browse the repository at this point in the history
Show ical subscription link only for logged in users
  • Loading branch information
effgarces authored Dec 24, 2024
2 parents 584376b + 3572a88 commit 08c00c6
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 08c00c6

Please sign in to comment.