-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split DisablePageInfo skin option into 3 parts GH-218
- Loading branch information
1 parent
e463831
commit 9161b0d
Showing
6 changed files
with
39 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.Skins.SkinObjects.PageInfo" %> | ||
<%@ Register TagPrefix="dnn" TagName="TAGS" Src="~/Admin/Skins/Tags.ascx" %> | ||
<% if (!Skin.Options.DisablePageInfo) { %> | ||
<% if (!Skin.Options.DisablePageTags || !Skin.Options.DisablePageAudit || !Skin.Options.DisablePermalinks) { %> | ||
<div class="skin-page-info text-muted"> | ||
<% if (ActiveTab.Terms != null && ActiveTab.Terms.Count > 0) { %> | ||
<% if (!Skin.Options.DisablePageTags && ActiveTab.Terms != null && ActiveTab.Terms.Count > 0) { %> | ||
<div class="skin-tags"> | ||
<dnn:TAGS runat="server" CssClass="test" ShowCategories="true" ShowTags="false" AllowTagging="false" Separator=" " /> | ||
</div> | ||
<hr /> | ||
<% } %> | ||
<ul class="list-inline"> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("PublishedDate_Tooltip.Text") %>'> | ||
<span class="fas fa-calendar-alt"></span> <%: T.GetString ("PublishedDate.Text") %> <%: PublishedOnDateString %> | ||
</li> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("LastModifiedDate_Tooltip.Text") %>'> | ||
<span class="fas fa-calendar-alt"></span> <%: T.GetString ("LastModifiedDate.Text") %> <%: LastModifiedOnDateString %> | ||
</li> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("LastModifiedByUser_Tooltip.Text") %>'> | ||
<span class="fas fa-user"></span> <%: LastContentModifiedByUserName %> | ||
</li> | ||
<li class="list-inline-item"> | ||
<button type="button" id="btnPermalinks" class="btn skin-btn-unstyled text-muted skin-btn-permalinks" | ||
title='<%: T.GetString ("Permalinks_Tooltip.Text") %>' | ||
data-toggle="modal" data-target="#skinPermalinksModal"> | ||
<i class="fas fa-globe"></i> <%: T.GetString ("Permalinks.Text") %> | ||
</button> | ||
</li> | ||
<% if (!Skin.Options.DisablePageAudit) { %> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("PublishedDate_Tooltip.Text") %>'> | ||
<span class="fas fa-calendar-alt"></span> <%: T.GetString ("PublishedDate.Text") %> <%: PublishedOnDateString %> | ||
</li> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("LastModifiedDate_Tooltip.Text") %>'> | ||
<span class="fas fa-calendar-alt"></span> <%: T.GetString ("LastModifiedDate.Text") %> <%: LastModifiedOnDateString %> | ||
</li> | ||
<li class="list-inline-item skin-page-info-item" title='<%: T.GetString ("LastModifiedByUser_Tooltip.Text") %>'> | ||
<span class="fas fa-user"></span> <%: LastContentModifiedByUserName %> | ||
</li> | ||
<% } %> | ||
<% if (!Skin.Options.DisablePermalinks) { %> | ||
<li class="list-inline-item"> | ||
<button type="button" id="btnPermalinks" class="btn skin-btn-unstyled text-muted skin-btn-permalinks" | ||
title='<%: T.GetString ("Permalinks_Tooltip.Text") %>' | ||
data-toggle="modal" data-target="#skinPermalinksModal"> | ||
<i class="fas fa-globe"></i> <%: T.GetString ("Permalinks.Text") %> | ||
</button> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
<% } %> |