CodeLiturgy.Dashboard/CodeLiturgy.Views/Views/Shared/_FooterMenu.cshtml

31 lines
870 B
Plaintext
Raw Permalink Normal View History

2022-10-30 19:48:24 +03:00
@using CodeLiturgy.Views.Utils
2022-11-17 00:17:44 +03:00
@using Duende.IdentityServer.Extensions
2022-09-26 04:05:23 +03:00
@{
Layout = null;
2022-11-17 00:17:44 +03:00
var menu = LayoutCache.GetDefaultFooterMenu(ViewData, User.IsAuthenticated());
2022-09-26 04:05:23 +03:00
}
2022-10-27 20:13:02 +03:00
@if (menu.Count > 0)
{
2022-11-23 01:39:28 +03:00
<div class="menu bottom">
<div class="row no-wrap center-align copyright-notice">
<span class="white-text">
<p>© Copyright 2011 - 2022, Code Liturgy
| <a href="#" target="_blank" data-capture="click">Privacy Policy</a>
@if (menu is {Count: > 0 })
2022-10-27 20:13:02 +03:00
{
2022-11-23 01:39:28 +03:00
@foreach (var record in menu)
{
<a href="@record.Location" target="_blank" data-capture="click">@record.Name</a>
}
2022-10-27 20:13:02 +03:00
}
2022-11-23 01:39:28 +03:00
</p>
</span>
2022-09-26 04:05:23 +03:00
</div>
2022-11-23 01:39:28 +03:00
</div>
2022-10-27 20:13:02 +03:00
}