Skip to content

Commit

Permalink
Changed MasterPage->Template
Browse files Browse the repository at this point in the history
  • Loading branch information
mac committed Dec 7, 2016
1 parent c3cc29d commit 83f97c4
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 18 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion WebApplication/Admin/Views/MasterPages/Admin.Master
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<li><a href="/Admin/Views/PageHandlers/Permissions/Default.aspx">Manage Permissions</a></li>
<li><a href="/Admin/Views/PageHandlers/Languages/Default.aspx">Manage Languages</a></li>
<li><a href="/Admin/Views/PageHandlers/MediaTypes/Default.aspx">Manage MediaTypes</a></li>
<li><a href="/Admin/Views/PageHandlers/MasterPages/Default.aspx">Manage MasterPages</a></li>
<li><a href="/Admin/Views/PageHandlers/MasterPages/Default.aspx">Manage Templates</a></li>
<li><a href="/Admin/Views/PageHandlers/AdminTools/Default.aspx">Admin Tools</a></li>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>
<asp:Literal ID="Section" runat="server"></asp:Literal></h1>
<h1>Manage Templates</h1>
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="UpdatePanel">
<ContentTemplate>
<a href="javascript:void(0);" onclick="executeAction('Create','', '<%= UpdatePanel.ClientID %>');">Create New</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ private List<MasterPage> Items

protected void Page_Init(object sender, EventArgs e)
{
this.Section.Text = this.Page.Title = "Manage MasterPages";

if (Items == null)
Items = BaseMapper.GetDataModel().MasterPages.OrderBy(i => i.Name).ToList();

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ protected void Page_Load(object sender, EventArgs e)
private string GetSectionTitle()
{
if (selectedItem == null)
return "New MasterPage";
return "New Template";
else
return "Editing MasterPage: " + selectedItem.Name;
return "Editing Template: " + selectedItem.Name;
}

private void UpdateObjectFromFields()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="Label" HeaderText="Label" SortExpression="Label" />
<asp:BoundField DataField="MediaTypeHandler" HeaderText="MediaTypeHandler" SortExpression="MediaTypeHandler" />
<asp:BoundField DataField="MasterPage.Name" HeaderText="MasterPage" SortExpression="MasterPage" />
<asp:BoundField DataField="MasterPage.Name" HeaderText="Template" SortExpression="Template" />
<asp:BoundField DataField="UseMediaTypeLayouts" HeaderText="UseMediaTypeLayouts" SortExpression="UseMediaTypeLayouts" />
<asp:BoundField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
<asp:BoundField DataField="EnableCaching" HeaderText="EnableCaching" SortExpression="EnableCaching" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div>
<label for="<%= DefaultMasterPageSelector.ClientID %>">
Default Master Page:</label>
Default Template:</label>
<div>
<asp:DropDownList runat="server" ID="DefaultMasterPageSelector">
</asp:DropDownList>
Expand Down
Binary file modified WebApplication/bin/FrameworkLibrary.dll
Binary file not shown.
Binary file modified WebApplication/bin/FrameworkLibrary.pdb
Binary file not shown.
Binary file modified WebApplication/bin/TinyFileManager.dll
Binary file not shown.
Binary file modified WebApplication/bin/TinyFileManager.pdb
Binary file not shown.
Binary file modified WebApplication/bin/WebApplication.dll
Binary file not shown.
Binary file modified WebApplication/bin/WebApplication.pdb
Binary file not shown.

0 comments on commit 83f97c4

Please sign in to comment.