mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18624: Fixing Widget-Name alternate
Work Item: 18624 --HG-- branch : 1.x
This commit is contained in:
@@ -38,8 +38,8 @@ namespace Orchard.Widgets {
|
|||||||
if (!String.IsNullOrWhiteSpace(widgetPart.Name)) {
|
if (!String.IsNullOrWhiteSpace(widgetPart.Name)) {
|
||||||
widget.Classes.Add("widget-" + widgetPart.Name);
|
widget.Classes.Add("widget-" + widgetPart.Name);
|
||||||
|
|
||||||
// Widget__Name_[Name]
|
// Widget__Name__[Name]
|
||||||
displaying.ShapeMetadata.Alternates.Add("Widget__Name_" + widgetPart.Name);
|
displaying.ShapeMetadata.Alternates.Add("Widget__Name__" + widgetPart.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user