aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-gwt
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-02 23:29:02 +0000
committerGodin <mandrikov@gmail.com>2010-12-02 23:29:02 +0000
commit3be4324b27a469c87fa619ed7952063dbe759641 (patch)
tree0bfb710c8549f6356001b541d5a16be49757f021 /plugins/sonar-core-gwt
parent3a166b9c5b1f28adc637b40ad0d9b9969e1e6a5c (diff)
downloadsonarqube-3be4324b27a469c87fa619ed7952063dbe759641.tar.gz
sonarqube-3be4324b27a469c87fa619ed7952063dbe759641.zip
SONAR-1450: Show only date for violation in UI
Diffstat (limited to 'plugins/sonar-core-gwt')
-rw-r--r--plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsPanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsPanel.java b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsPanel.java
index fc911727fa8..772325dfa83 100644
--- a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsPanel.java
+++ b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsPanel.java
@@ -140,7 +140,7 @@ public class ViolationsPanel extends SourcePanel {
@Override
public String getColumn4() {
return "<div class=\"warn\">" + Icons.forPriority(violation.getPriority()).getHTML() + "</img> "
- + Utils.formatDateTime(violation.getCreatedAt())
+ + Utils.formatDate(violation.getCreatedAt())
+ " <a href=\"" + Links.urlForRule(violation.getRuleKey(), false)
+ "\" onclick=\"window.open(this.href,'rule','height=800,width=900,scrollbars=1,resizable=1');return false;\" title=\""
+ violation.getRuleKey() + "\"><b>"