mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removing <h3> enclosing
--HG-- branch : dev
This commit is contained in:
@@ -62,19 +62,15 @@ namespace Orchard.DesignerTools.Services {
|
|||||||
private void DumpValue(object o, string name) {
|
private void DumpValue(object o, string name) {
|
||||||
string formatted = FormatValue(o);
|
string formatted = FormatValue(o);
|
||||||
_node.Add(
|
_node.Add(
|
||||||
new XElement("h3",
|
new XElement("div", new XAttribute("class", "name"), name),
|
||||||
new XElement("div", new XAttribute("class", "name"), name),
|
new XElement("div", new XAttribute("class", "value"), formatted)
|
||||||
new XElement("div", new XAttribute("class", "value"), formatted)
|
);
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DumpObject(object o, string name) {
|
private void DumpObject(object o, string name) {
|
||||||
_node.Add(
|
_node.Add(
|
||||||
new XElement("h3",
|
new XElement("div", new XAttribute("class", "name"), name),
|
||||||
new XElement("div", new XAttribute("class", "name"), name),
|
new XElement("div", new XAttribute("class", "type"), FormatType(o.GetType()))
|
||||||
new XElement("div", new XAttribute("class", "type"), FormatType(o.GetType()))
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (_parents.Count >= _levels) {
|
if (_parents.Count >= _levels) {
|
||||||
|
|||||||
Reference in New Issue
Block a user