diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-01-29 13:08:28 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-01-29 13:08:28 +0600 |
commit | 8b0436bec9ace92cbeb56b46a577b9f1d6c4fb4b (patch) | |
tree | 8a72a74a192c88f58b372ed730260e6234128e7b | |
parent | 463d215ff9c2d8b14a58235d2488cefff014bb72 (diff) | |
download | sonarqube-8b0436bec9ace92cbeb56b46a577b9f1d6c4fb4b.tar.gz sonarqube-8b0436bec9ace92cbeb56b46a577b9f1d6c4fb4b.zip |
New Issues Page: add a permalink
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb | 4 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/stylesheets/style.css | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb index 93d2300f280..9bee4f6cec6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb @@ -1,5 +1,9 @@ <script id="issue-detail-inner-template" type="text/x-handlebars-template"> <div class="code-issue" data-issue-key="{{key}}" data-issue-component="{{component}}" data-issue-rule="{{rule}}"> + <div class="code-issue-permalink"> + <a target="_blank" href="<%= ApplicationController.root_context -%>/issue/show/{{key}}?layout=false"><img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif"></a> + </div> + <div class="code-issue-name"> {{severityIcon severity}} <span class="rulename">{{ruleName}}</span> </div> diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index 9e2a5248033..f6d7c5818ae 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -798,6 +798,11 @@ th.operations, td.operations { padding: 0 0 10px 0; } +.code-issue-permalink { + float: right; + padding: 4px 4px 0 0; +} + .code-issue-name { background-color: #E4ECF3; margin: 0; |