Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bedre håndtering av "Justeringer etter publisering" med html #1429

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@model SpeciesAssessment2021
@if (!string.IsNullOrWhiteSpace(Model.RevisionReason))
@if (!string.IsNullOrEmpty(Model.RevisionReason.StripHtml()))
{
<div>
<span class="material-icons" style="float:left;display:inline-block; padding:10px;">
Expand All @@ -10,7 +10,7 @@
<i style="display:none;">NB - Vurderingen er justert etter publisering: </i>
<b>Justeringer etter publisering</b>
<p>
@Model.RevisionReason
@Html.Raw(Model.RevisionReason)
<a is-visible="Model.Revisions.Any()" asp-action="Detail" asp-route-id="@Model.Id" asp-route-revisionid="1">Gå til første utgave</a>
</p>
</div>
Expand Down
Loading