mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Bringing back Orchard.Packaging
--HG-- branch : dev
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
@Html.ValidationSummary(T("Package creation was unsuccessful. Please correct the errors and try again.").ToString())
|
||||
@foreach (var group in Model.Extensions.Where(x => !x.Location.StartsWith("~/Core")).GroupBy(x => x.ExtensionType)) {
|
||||
foreach (var group in Model.Extensions.Where(x => !x.Location.StartsWith("~/Core")).GroupBy(x => x.ExtensionType)) {
|
||||
<fieldset>
|
||||
<legend>@T("Harvest") @group.Key</legend>
|
||||
<ul>
|
||||
@@ -18,9 +18,9 @@
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
@Html.ValidationMessageFor(m => m.ExtensionName)
|
||||
</fieldset>
|
||||
}
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.FeedUrl)
|
||||
@Html.DropDownListFor(m => m.FeedUrl, new[]{new SelectListItem{Text=T("Download").ToString(),Value="Download"}}.Concat( Model.Sources.Select(x => new SelectListItem { Text = T("Push to {0}", x.FeedUrl).ToString(), Value = x.FeedUrl })))
|
||||
|
||||
Reference in New Issue
Block a user