1
0

Improved editor features for gallery and projects

This commit is contained in:
Michael Gordeev
2020-04-28 12:33:42 +03:00
parent e77332a6f1
commit 6b628c5906
2 changed files with 2 additions and 2 deletions
@@ -25,7 +25,7 @@
<h1>@Model.Current?.Title</h1> <h1>@Model.Current?.Title</h1>
<span>@Localizer["Creation date"]: @Model.Current?.CreationDate.ToShortDateString()</span> <span>@Localizer["Creation date"]: @Model.Current?.CreationDate.ToShortDateString()</span>
<p> <p>
@Html.Raw(Model.Current?.Description) @Html.Raw(Model.Current?.Description?.Replace("\n", "<br />"))
</p> </p>
</div> </div>
</article> </article>
@@ -20,7 +20,7 @@
<div> <div>
<h1>@project.Title</h1> <h1>@project.Title</h1>
<p> <p>
@Html.Raw(project.Description) @Html.Raw(project.Description?.Replace("\n", "<br />"))
</p> </p>
<a href="@(project.Link)" target="_blank">@project.LinkCaption</a> <a href="@(project.Link)" target="_blank">@project.LinkCaption</a>
</div> </div>