diff options
| author | bob the builder <builder@a-wild-computer-appears> | 2022-11-16 06:06:40 +0100 |
|---|---|---|
| committer | bob the builder <builder@a-wild-computer-appears> | 2022-11-16 06:06:40 +0100 |
| commit | d8c6b8956135b19613cbcd5b93daabf36b30dae5 (patch) | |
| tree | ccf0d3c9a58404ca651caf5f07debb1bc49a6316 /src/Pages | |
| parent | aefcee20e9448ec797049ee852c0f6fd38fc2826 (diff) | |
| parent | a7e7d83057503262a9f2b56c4fb0c18e3f8ea15c (diff) | |
| download | lettnytt-d8c6b8956135b19613cbcd5b93daabf36b30dae5.tar.xz lettnytt-d8c6b8956135b19613cbcd5b93daabf36b30dae5.zip | |
Merge branch 'master' of il:lettnytt
Diffstat (limited to 'src/Pages')
| -rw-r--r-- | src/Pages/Read.cshtml | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/src/Pages/Read.cshtml b/src/Pages/Read.cshtml index cbbd69a..63543aa 100644 --- a/src/Pages/Read.cshtml +++ b/src/Pages/Read.cshtml @@ -9,26 +9,33 @@ <h1>@Model.Source.Title</h1> <p>@Model.Source.Subtitle</p> </div> - <div style="display: flex; flex-direction: column; flex-wrap: nowrap"> - <div style="flex-direction:column"> - @if (Model.Source.PublishedAt != default) { - <small style="white-space: nowrap">Publisert: @Model.Source.PublishedAt.ToString("dd-MM-yyyy hh:mm:ss")</small> - } - @if (Model.Source.UpdatedAt != default) { - <br/> - <small style="white-space: nowrap">Oppdatert: @Model.Source.UpdatedAt.ToString("dd-MM-yyyy hh:mm:ss")</small> - } - </div> - <div style="margin: 0 5px; border: 0.5px solid black"></div> - <div style="flex-direction:column"> - @foreach (var author in Model.Source.Authors) { - <small style="white-space: nowrap"><b>@author.Name</b>: @author.Title</small> - <br/> - } - </div> - </div> </div> <div id="art-body"> @Html.Raw(Model.Source.Content) -</div>
\ No newline at end of file +</div> +<footer> + <p> + <div style="display: flex; flex-direction: column; flex-wrap: nowrap;"> + <div style="flex-direction:column"> + @foreach (var author in Model.Source.Authors) { + <small style="white-space: nowrap"><b>@author.Name</b>: @author.Title</small> + <br/> + } + </div> + <div style="flex-direction: column"> + @if (Model.Source.PublishedAt != default) { + <small style="white-space: nowrap">Publisert: @Model.Source.PublishedAt.ToString("dd-MM-yyyy hh:mm:ss")</small> + } + @if (Model.Source.UpdatedAt != default) { + <br/> + <small style="white-space: nowrap">Oppdatert: @Model.Source.UpdatedAt.ToString("dd-MM-yyyy hh:mm:ss")</small> + } + <br/> + <small> + <a href="@Model.Source.Href">Les på nrk.no</a> + </small> + </div> + </div> + </p> +</footer>
\ No newline at end of file |
