mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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>" %>
|
||||
<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">
|
||||
<%: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>
|
||||
|
@@ -19,7 +19,7 @@
|
||||
<%: Html.ValidationSummary() %>
|
||||
<fieldset>
|
||||
<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>
|
||||
<input type="hidden" id="FolderName" name="FolderName" value="<%: Model.FolderName %>" />
|
||||
<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()
|
||||
%><fieldset>
|
||||
<label for="ModulePackage"><%:T("Module Package") %></label>
|
||||
<input type="file" id="ModulePackage" name="ModulePackage" />
|
||||
<input type="file" id="ModulePackage" size="64" name="ModulePackage" />
|
||||
</fieldset>
|
||||
<button type="submit" class="button primaryAction"><%:T("Install") %></button><%
|
||||
} %>
|
Reference in New Issue
Block a user