Add back buttons

This commit is contained in:
Sijmen 2021-07-04 13:38:52 +02:00
parent ea061094a3
commit 021acac780
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,10 @@
@page "/calendars/{id:int}"
@inject Data.CalendarService _calendarService
<a href="/">
<span class="oi oi-arrow-left"></span> Back
</a>
@if (_calendar == null || _events == null)
{
<p>

View File

@ -1,6 +1,10 @@
@page "/calendars/{calendarId:int}/events/{eventUid}"
@inject Data.CalendarService _calendarService
<a href="/calendars/@CalendarId">
<span class="oi oi-arrow-left"></span> Back
</a>
@if (_event == null)
{
<p>