mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
#17202: Fixing incorrect stylesheet import. Adding null condition checker to avoid null point exception.
--HG-- branch : dev
This commit is contained in:
@@ -1,31 +1,30 @@
|
||||
@model Orchard.Packaging.ViewModels.PackagingSourcesViewModel
|
||||
<h1>
|
||||
@Html.TitleForPage(T("Gallery Feeds").ToString())</h1>
|
||||
<h1>@Html.TitleForPage(T("Gallery Feeds").ToString())</h1>
|
||||
|
||||
<div class="manage">
|
||||
@Html.ActionLink(T("Add Feed").Text, "AddSource", new { }, new { @class = "button primaryAction" })
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
<table class="items" summary="@T("This is a table of the gallery feeds in your application")">
|
||||
<colgroup>
|
||||
<col id="Col1" />
|
||||
<col id="Col2" />
|
||||
<col id="Col3" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">@T("Title")</th>
|
||||
<th scope="col">@T("Url")</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@foreach ( var item in Model.Sources ) {
|
||||
<fieldset>
|
||||
<table class="items" summary="@T("This is a table of the gallery feeds in your application")">
|
||||
<colgroup>
|
||||
<col id="Col1" />
|
||||
<col id="Col2" />
|
||||
<col id="Col3" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>@item.FeedTitle</td>
|
||||
<td>@Html.Link(item.FeedUrl, item.FeedUrl)</td>
|
||||
<td>@Html.ActionLink(T("Remove").ToString(), "Remove", new { id = item.Id })</td>
|
||||
<th scope="col">@T("Title")</th>
|
||||
<th scope="col">@T("Url")</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</fieldset>
|
||||
</thead>
|
||||
@foreach ( var item in Model.Sources ) {
|
||||
<tr>
|
||||
<td>@item.FeedTitle</td>
|
||||
<td>@Html.Link(item.FeedUrl, item.FeedUrl)</td>
|
||||
<td>@Html.ActionLink(T("Remove").ToString(), "Remove", new { id = item.Id })</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</fieldset>
|
Reference in New Issue
Block a user