Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module id information. #6048

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
if (!rootText || rootText.length == 0) {
return;
}
root.append("<li class=\"" + rootClass + "\"><div>" + rootText + "</div>");
root.append("<li class=\"" + rootClass + "\"><div>" + moduleId + ":" + rootText + "</div>");
}

function buildQuickSettings(root, rootText, rootClass, rootIcon) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
Expand Down Expand Up @@ -400,4 +400,10 @@
<data name="MonikerExists.Text" xml:space="preserve">
<value>The new value of the moniker already exists; it must be unique in the portal.</value>
</data>
<data name="plModuleId.Help" xml:space="preserve">
<value>Displays the id of the module.</value>
</data>
<data name="plModuleId.Text" xml:space="preserve">
<value>Module Id</value>
</data>
</root>
4 changes: 4 additions & 0 deletions DNN Platform/Website/admin/Modules/Modulesettings.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<div class="msmsContent dnnClear">
<h2 id="dnnPanel-ModuleGeneralDetails" class="dnnFormSectionHead"><a href="" class="dnnSectionExpanded"><%=LocalizeString("GeneralDetails")%></a></h2>
<fieldset>
<div class="dnnFormItem">
<dnn:label id="plModuleId" runat="server" controlname="ltModuleId" />
<span><asp:Literal ID="ltModuleId" runat="server"></asp:Literal></span>
</div>
<div class="dnnFormItem" id="cultureRow" runat="server">
<dnn:label id="cultureLabel" runat="server" controlname="cultureLanguageLabel" />
<dnnweb:dnnlanguagelabel id="cultureLanguageLabel" runat="server" />
Expand Down
1 change: 1 addition & 0 deletions DNN Platform/Website/admin/Modules/Modulesettings.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ private void BindData()
this.dgPermissions.InheritViewPermissionsFromTab = this.Module.InheritViewPermissions;
}

this.ltModuleId.Text = this.module.ModuleID.ToString();
this.txtFriendlyName.Text = this.Module.DesktopModule.FriendlyName;
this.txtTitle.Text = this.Module.ModuleTitle;
this.ctlIcon.Url = this.Module.IconFile;
Expand Down
12 changes: 12 additions & 0 deletions DNN Platform/Website/admin/Modules/Modulesettings.ascx.designer.cs

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