Fixed title on Manage Content page and made module install textbox longer.

--HG--
branch : dev
This commit is contained in:
Jonathan Wall
2010-07-15 12:06:22 -07:00
parent 5d11debc61
commit 12b9e87948
3 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -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 %>" />

View File

@@ -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><%
} %>