mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed title on Manage Content page and made module install textbox longer.
--HG-- branch : dev
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Contents.ViewModels.ListContentsViewModel>" %>
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Contents.ViewModels.ListContentsViewModel>" %>
|
||||||
<h1><%:Html.TitleForPage(T("Manage {0} Content", !string.IsNullOrEmpty(Model.TypeDisplayName) ? Model.TypeDisplayName : T("all").Text).ToString())%></h1>
|
<h1><%:Html.TitleForPage(T("Manage {0} Content", !string.IsNullOrEmpty(Model.TypeDisplayName) ? Model.TypeDisplayName : T("").Text).ToString())%></h1>
|
||||||
<div class="manage">
|
<div class="manage">
|
||||||
<%:Html.ActionLink(!string.IsNullOrEmpty(Model.TypeDisplayName) ? T("Add new {0} content", Model.TypeDisplayName).Text : T("Add new content").Text, "Create", new { }, new { @class = "button primaryAction" })%>
|
<%:Html.ActionLink(!string.IsNullOrEmpty(Model.TypeDisplayName) ? T("Add new {0} content", Model.TypeDisplayName).Text : T("Add new content").Text, "Create", new { }, new { @class = "button primaryAction" })%>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<%: Html.ValidationSummary() %>
|
<%: Html.ValidationSummary() %>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="pageTitle"><%: T("File Path <span> - multiple files must be in a zipped folder</span>")%></label>
|
<label for="pageTitle"><%: T("File Path <span> - multiple files must be in a zipped folder</span>")%></label>
|
||||||
<input id="MediaItemPath" name="MediaItemPath" type="file" class="text" value="<%: T("Browse") %>" size="64"/>
|
<input id="MediaItemPath" name="MediaItemPath" type="file" value="<%: T("Browse") %>" size="64"/>
|
||||||
<span class="hint"><%: T("After your files have been uploaded, you can edit the titles and descriptions.")%></span>
|
<span class="hint"><%: T("After your files have been uploaded, you can edit the titles and descriptions.")%></span>
|
||||||
<input type="hidden" id="FolderName" name="FolderName" value="<%: Model.FolderName %>" />
|
<input type="hidden" id="FolderName" name="FolderName" value="<%: Model.FolderName %>" />
|
||||||
<input type="hidden" id="MediaPath" name="MediaPath" value="<%: Model.MediaPath %>" />
|
<input type="hidden" id="MediaPath" name="MediaPath" value="<%: Model.MediaPath %>" />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using (Html.BeginFormAntiForgeryPost(Url.Action("add", new { area = "Orchard.Mod
|
|||||||
<%: Html.ValidationSummary()
|
<%: Html.ValidationSummary()
|
||||||
%><fieldset>
|
%><fieldset>
|
||||||
<label for="ModulePackage"><%:T("Module Package") %></label>
|
<label for="ModulePackage"><%:T("Module Package") %></label>
|
||||||
<input type="file" id="ModulePackage" name="ModulePackage" />
|
<input type="file" id="ModulePackage" size="64" name="ModulePackage" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<button type="submit" class="button primaryAction"><%:T("Install") %></button><%
|
<button type="submit" class="button primaryAction"><%:T("Install") %></button><%
|
||||||
} %>
|
} %>
|
||||||
Reference in New Issue
Block a user