Skip to content

Commit

Permalink
Apply itemprop="copy" just once,
Browse files Browse the repository at this point in the history
obsolete UseObrnadzorMicrodata config option
  • Loading branch information
roman-yagodin committed Mar 29, 2021
1 parent e23cfc3 commit 90e1a08
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions R7.Epsilon/Components/EpsilonPortalConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class EpsilonPortalConfig

public bool DisablePageAudit { get; set; }

[Obsolete]
public bool UseObrnadzorMicrodata { get; set; }

public List<SocialGroupConfig> SocialGroups { get; set; } = new List<SocialGroupConfig> ();
Expand Down
3 changes: 1 addition & 2 deletions R7.Epsilon/Skins/Blocks/Header.ascx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.Skins.SkinObjects.EpsilonSkinObjectBase" %>
<%@ Import Namespace="DnnGlobals=DotNetNuke.Common.Globals" %>
<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>
<%@ Register TagPrefix="dnn" TagName="USER" Src="~/Admin/Skins/User.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
Expand All @@ -13,7 +12,7 @@
<%@ Register TagPrefix="skin" TagName="CUSTOMCONTENT" Src="~/Portals/_default/Skins/R7.Epsilon/SkinObjects/CustomContent.ascx" %>
<div class="container">
<div class="row">
<a href='<%= DnnGlobals.NavigateURL ("", "a11y", "true") %>' class="sr-only sr-only-focusable" itemprop="copy"><%: T.GetString ("A11yWebsiteVersion.Text") %></a>
<a href='<%= DotNetNuke.Common.Globals.NavigateURL ("", "a11y", "true") %>' class="sr-only sr-only-focusable"><%: T.GetString ("A11yWebsiteVersion.Text") %></a>
<a href="#content" class="sr-only sr-only-focusable"><%: T.GetString ("SkipToContent.Text") %></a>
</div>
<div class="row">
Expand Down
1 change: 0 additions & 1 deletion R7.Epsilon/Skins/SkinObjects/A11yFunctions.ascx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.Skins.SkinObjects.EpsilonSkinObjectBase" %>
<%@ Import Namespace="R7.Epsilon.Components" %>
<%@ Import Namespace="DnnGlobals=DotNetNuke.Common.Globals" %>
<div class="dropdown d-inline-block">
<button type="button" class="btn btn-lg skin-btn-unstyled dropdown-toggle skin-a11y-btn"
data-toggle="dropdown"
Expand Down

0 comments on commit 90e1a08

Please sign in to comment.