Person Pages

This commit is contained in:
Simon Martens
2023-06-26 22:30:05 +02:00
parent e18f053865
commit cf0bc3cddf
18 changed files with 8571 additions and 495514 deletions

View File

@@ -15,11 +15,7 @@ public class BriefeMetaViewModel {
get => _SenderReceiver;
set {
if (value != null)
value.ForEach(x => {
HttpUtility.HtmlEncode(x.Sender);
HttpUtility.HtmlEncode(x.Receiver);
});
_SenderReceiver = value;
_SenderReceiver = value;
}
}

View File

@@ -7,6 +7,7 @@ public class IndexViewModel {
public int ActiveYear { get; private set; }
public List<(int StartYear, int EndYear)>? AvailableYears { get; private set; }
public string? ActivePerson { get; set; }
public CommentModel? PersonComment { get; set; }
public List<(string Key, string Name)>? AvailablePersons { get; private set; }
public List<(string Volume, List<string> Pages)>? AvailablePages { get; private set; }
public string? ActiveVolume { get; private set; }

View File

@@ -7,7 +7,7 @@ public class RegisterViewModel {
public string Title { get; private set; }
public bool AllowSendIn { get; private set; }
public bool AllowSearch { get; private set; }
private List<(string, string)>? _AvailableCategories;
private List<(string, string)>? _AvailableSideCategories;