export html action: location + name merged
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 4 May 2016 10:18:04 +0000 (13:18 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 4 May 2016 10:18:04 +0000 (13:18 +0300)
platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java
platform/lang-impl/resources/inspectionReport/styles.css

index b5f18c246efcbd405282b0f4f4a3dddddf2e9d59..f44bc78dae2baf1593a9b19486f703507ee494a3 100644 (file)
@@ -92,17 +92,13 @@ public abstract class HTMLComposerImpl extends HTMLComposer {
     if (refEntity instanceof RefElement) {
       RefElement refElement = (RefElement)refEntity;
 
     if (refEntity instanceof RefElement) {
       RefElement refElement = (RefElement)refEntity;
 
-      appendHeading(buf, InspectionsBundle.message("inspection.offline.view.tool.display.name.title"));
-      buf.append(BR);
-      appendAfterHeaderIndention(buf);
-
-      appendShortName(buf, refElement);
-      buf.append(BR).append(BR);
-
       appendHeading(buf, InspectionsBundle.message("inspection.export.results.capitalized.location"));
       appendHeading(buf, InspectionsBundle.message("inspection.export.results.capitalized.location"));
+      buf.append("<div class=\"location\">");
+      appendShortName(buf, refElement);
       buf.append(BR);
       buf.append(BR);
-      appendAfterHeaderIndention(buf);
+      buf.append("in ");
       appendLocation(buf, refElement);
       appendLocation(buf, refElement);
+      buf.append("</div>");
       buf.append(BR).append(BR);
     }
   }
       buf.append(BR).append(BR);
     }
   }
index 4da0d083e3a8ad490f8ef03a397df471fcff20fa..41cc324815423df6ee210e63864231a25acbe774 100644 (file)
@@ -91,4 +91,8 @@ li input:checked + ol > li {
 
 li input:checked + ol > li:last-child {
     margin: 0 0 1px;
 
 li input:checked + ol > li:last-child {
     margin: 0 0 1px;
+}
+
+div.location {
+    margin-left: 40px;
 }
\ No newline at end of file
 }
\ No newline at end of file