|
|
@@ -36,11 +36,11 @@
|
|
|
原分类:<i class="icon-map-pin"></i>@Html.ActionLink(Model.Category.Name, "Category", "Home", new { id = Model.CategoryId }, new { @class = "label label-" + colors[new Random().Next() % colors.Length] })
|
|
|
@if (Model.Seminar.Any())
|
|
|
{
|
|
|
- <span> | 原所属专题:</span>
|
|
|
+ <span> | 原所属专题:</span>
|
|
|
var seminars = Model.Seminar;
|
|
|
foreach (var s in seminars)
|
|
|
{
|
|
|
- @Html.ActionLink(s.Seminar.Title, "Index", "Seminar", new { id = s.SeminarId }, new { @class = "label label-" + colors[new Random().Next() % colors.Length] })<text> </text>
|
|
|
+ @Html.ActionLink(s.Seminar.Title, "Index", "Seminar", new { id = s.SeminarId }, new { @class = "label label-" + colors[new Random().Next() % colors.Length] })<text> </text>
|
|
|
}
|
|
|
}
|
|
|
<div class="btn-group">
|
|
|
@@ -52,22 +52,23 @@
|
|
|
@{
|
|
|
if (!string.IsNullOrEmpty(Model.Label))
|
|
|
{
|
|
|
- <div class="pull-right margin-right20">
|
|
|
- <div>
|
|
|
- @foreach (string s in Model.Label.Split(',', ',', ' '))
|
|
|
+ <div class="pull-right margin-right20">
|
|
|
+ <div>
|
|
|
+ @foreach (string s in Model.Label.Split(',', ',', ' '))
|
|
|
{
|
|
|
if (!string.IsNullOrEmpty(s))
|
|
|
{
|
|
|
- <a asp-controller="Home" asp-action="Tag" asp-route-id="@s">
|
|
|
- <span class="label label-@colors[new Random().Next() % colors.Length]">@s</span>
|
|
|
- </a>
|
|
|
+ <a asp-controller="Home" asp-action="Tag" asp-route-id="@s">
|
|
|
+ <span class="label label-@colors[new Random().Next() % colors.Length]">@s</span>
|
|
|
+ </a>
|
|
|
}
|
|
|
}
|
|
|
- </div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
}
|
|
|
}
|
|
|
</div>
|
|
|
+ <p class="text-focus text-center">您目前正在查看该文章的历史版本,文章的历史版本可能无法为您提供最准确及时的资讯,不具备任何参考价值,@Html.ActionLink("点击前往", "Details", "Post", new { id = Model.PostId }, null)该文章的最新版本。</p>
|
|
|
</header>
|
|
|
<article class="article" id="article">
|
|
|
@Html.Raw(Model.Content)
|