Skip to content

Commit

Permalink
Version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-yves-mpnnet committed Mar 13, 2018
1 parent c2dd1ff commit 4714a0c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.bonitasoft.log.event</groupId>
<artifactId>bonita-event</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<name>BonitaEvent</name>
</project>
12 changes: 6 additions & 6 deletions src/main/java/org/bonitasoft/log/event/BEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,18 @@ public Map<String, Object> getJson(final boolean withHtml)
public String getHtml()
{
final StringBuffer htmlEvent = new StringBuffer();
htmlEvent.append("<div style=\"border:1px solid black;padding-right: 20px;\"><a href='#' class=\"");
htmlEvent.append("<div style=\"border:1px solid black;padding-right: 20px;\"><a href='#' ");
if (getLevel() == Level.CRITICAL || getLevel() == Level.ERROR) {
htmlEvent.append("label label-danger");
htmlEvent.append("class=\"label label-danger\" style=\"color:white;\" ");
} else if (getLevel() == Level.APPLICATIONERROR) {
htmlEvent.append("label label-warning");
htmlEvent.append("class=\"label label-warning\" style=\"color:white;\" ");
} else if (getLevel() == Level.SUCCESS) {
htmlEvent.append("label label-success");
htmlEvent.append("class=\"label label-success\" style=\"color:white;\" ");
} else {
htmlEvent.append("label label-info");
htmlEvent.append("class=\"label label-info\" style=\"color:white;\" ");
}
htmlEvent.append("\" title=\"" + getKey() + "\"");
htmlEvent.append("\">" + getTitle());
htmlEvent.append(">" + getTitle());
htmlEvent.append("</a>");

if (getParameters() != null) {
Expand Down

0 comments on commit 4714a0c

Please sign in to comment.