mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 09:45:32 +00:00
Did a lot of styling on letter & register view; introduced a new accent color. Added scroll and submit vutton, TODO style submit button
This commit is contained in:
@@ -5,6 +5,7 @@ public class RegisterViewModel {
|
||||
public string Category { get; private set; }
|
||||
public string Id { get; private set; }
|
||||
public string Title { get; private set; }
|
||||
public bool AllowSendIn { get; private set; }
|
||||
|
||||
private List<(string, string)>? _AvailableCategories;
|
||||
private List<(string, string)>? _AvailableSideCategories;
|
||||
@@ -41,10 +42,11 @@ public class RegisterViewModel {
|
||||
}
|
||||
}
|
||||
|
||||
public RegisterViewModel(string category, string id, List<CommentModel> parsedComments, string title) {
|
||||
public RegisterViewModel(string category, string id, List<CommentModel> parsedComments, string title, bool allowSendIn) {
|
||||
this.Category = HttpUtility.HtmlAttributeEncode(category);
|
||||
this.Id = HttpUtility.HtmlAttributeEncode(id);
|
||||
this.ParsedComments = parsedComments;
|
||||
this.Title = HttpUtility.HtmlEncode(title);
|
||||
this.AllowSendIn = allowSendIn;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user