mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Seperated css files; added search form to register and styled the button
This commit is contained in:
@@ -6,6 +6,7 @@ public class RegisterViewModel {
|
||||
public string Id { get; private set; }
|
||||
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;
|
||||
@@ -42,11 +43,12 @@ public class RegisterViewModel {
|
||||
}
|
||||
}
|
||||
|
||||
public RegisterViewModel(string category, string id, List<CommentModel> parsedComments, string title, bool allowSendIn) {
|
||||
public RegisterViewModel(string category, string id, List<CommentModel> parsedComments, string title, bool allowSendIn, bool allowSearch) {
|
||||
this.Category = HttpUtility.HtmlAttributeEncode(category);
|
||||
this.Id = HttpUtility.HtmlAttributeEncode(id);
|
||||
this.ParsedComments = parsedComments;
|
||||
this.Title = HttpUtility.HtmlEncode(title);
|
||||
this.AllowSendIn = allowSendIn;
|
||||
this.AllowSearch = allowSearch;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user