Skip to content

Commit

Permalink
Creating of calendar item streamlined and About text updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrands committed Jun 10, 2020
1 parent ed33c09 commit 5af325c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Pages/About.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<li><a href="https://help.github.com/en/actions" target="_blank">GitHub Actions</a></li>
</ul>
"warm" zu werden.
<p>
Und in der aktuellen Version liegt der komplette Source-Code der Anwendung auf GitHub: <a href="https://github.com/rbrands/robert-brands-com" target="_blank">https://github.com/rbrands/robert-brands-com</a>
In dem Wiki des GitHub-Repositories ist auch alles mehr oder weniger umfangreich dokumentiert.
</p>
<p>&nbsp;</p>
<p><a asp-page="Datenschutz" title="Datenschutz">Datenschutzerklärung</a></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

<footer class="border-top footer text-muted">
<div class="container">
&copy; 2020 - robert-brands.com - 2020-06-09 | <a asp-page="/About">Über</a> | <a asp-page="/Contact">Impressum</a>
&copy; 2020 - robert-brands.com - 2020-06-10 | <a asp-page="/About">Über</a> | <a asp-page="/Contact">Impressum</a>
@if (User.Identity.IsAuthenticated && User.IsAdmin()) {
<text>| Admin</text>
}
Expand Down
4 changes: 2 additions & 2 deletions Pages/Termine/NewEvent.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public NewEventModel(ICosmosDBRepository<CalendarItem> calendarRepository, ICosm
_categoryRepository = categoryRepository;
_activityLog = activityLogRepository;
this.NewEvent = new CalendarItem();
this.NewEvent.StartDate = DateTime.Now.AddDays(1.0);
this.NewEvent.EndDate = this.NewEvent.StartDate.AddHours(3.0);
this.NewEvent.StartDate = DateTime.Today.AddDays(1.0).AddHours(12.0);
this.NewEvent.EndDate = this.NewEvent.StartDate.AddHours(2.0);
NewEvent.CalendarName = "Termin";
NewEvent.TimeToLive = 16070400;
}
Expand Down

0 comments on commit 5af325c

Please sign in to comment.