A better layout

main
Paul Schneider 9 years ago
parent 2ee8c70b1b
commit b59e7a0883
1 changed files with 9 additions and 9 deletions

@ -9,13 +9,13 @@
<hr /> <hr />
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt> <dt>
@Html.DisplayNameFor(model => model.title) @SR[Html.DisplayNameFor(model => model.title)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.title) @Html.DisplayFor(model => model.title)
</dd> </dd>
<dt> <dt>
@Html.DisplayNameFor(model => model.photo) @SR[Html.DisplayNameFor(model => model.photo)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.photo) @Html.DisplayFor(model => model.photo)
@ -27,34 +27,34 @@
@Model.Author.UserName @Model.Author.UserName
</dd> </dd>
<dt> <dt>
Contenu @SR["Content"]
</dt> </dt>
<dd> <dd>
<div markdown="@Model.bcontent" base="~/@Model.Id" <div markdown="@Model.bcontent" base="~/@Model.Id"
site="SiteSettings.Value"></div> site="SiteSettings.Value"></div>
</dd> </dd>
<dt> <dt>
@Html.DisplayNameFor(model => model.modified) @SR[Html.DisplayNameFor(model => model.modified)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.modified) @Html.DisplayFor(model => model.modified)
</dd> </dd>
<dt> <dt>
@Html.DisplayNameFor(model => model.posted) @SR[Html.DisplayNameFor(model => model.posted)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.posted) @Html.DisplayFor(model => model.posted)
</dd> </dd>
<dt> <dt>
@Html.DisplayNameFor(model => model.rate) @SR[Html.DisplayNameFor(model => model.rate)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.rate) @Html.DisplayFor(model => model.rate)
</dd> </dd>
<dt> <dt>
@Html.DisplayNameFor(model => model.visible) @SR[Html.DisplayNameFor(model => model.visible)]
</dt> </dt>
<dd> <dd>
@Html.DisplayFor(model => model.visible) @Html.DisplayFor(model => model.visible)
@ -64,10 +64,10 @@
<ul> <ul>
@if (await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())) { @if (await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())) {
<li> <li>
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> <a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a>
</li> </li>
} }
<li> <li>
<a asp-action="Index">Back to List</a> <a asp-action="Index">@SR["Back to List"]</a>
</li> </li>
</ul> </ul>

Loading…