mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-06 11:58:38 +00:00
Add descriptions to slot and user pages
This commit is contained in:
parent
d3c1f2f035
commit
6817c3089e
2 changed files with 6 additions and 2 deletions
|
@ -3,8 +3,10 @@
|
||||||
|
|
||||||
@{
|
@{
|
||||||
Layout = "Layouts/BaseLayout";
|
Layout = "Layouts/BaseLayout";
|
||||||
Model.Title = Model.Slot.Name;
|
|
||||||
Model.ShowTitleInPage = false;
|
Model.ShowTitleInPage = false;
|
||||||
|
|
||||||
|
Model.Title = Model.Slot.Name;
|
||||||
|
Model.Description = Model.Slot.Description;
|
||||||
}
|
}
|
||||||
|
|
||||||
@await Html.PartialAsync("Partials/SlotCardPartial", Model.Slot, new ViewDataDictionary(ViewData)
|
@await Html.PartialAsync("Partials/SlotCardPartial", Model.Slot, new ViewDataDictionary(ViewData)
|
||||||
|
|
|
@ -8,8 +8,10 @@
|
||||||
|
|
||||||
@{
|
@{
|
||||||
Layout = "Layouts/BaseLayout";
|
Layout = "Layouts/BaseLayout";
|
||||||
Model.Title = Model.ProfileUser!.Username + "'s user page";
|
|
||||||
Model.ShowTitleInPage = false;
|
Model.ShowTitleInPage = false;
|
||||||
|
|
||||||
|
Model.Title = Model.ProfileUser!.Username + "'s user page";
|
||||||
|
Model.Description = Model.ProfileUser!.Biography;
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="ui grid">
|
<div class="ui grid">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue