-<ul>
+<ul class="marginbottom10">
<li>
<%= format_datetime(@issue.creationDate()) -%>
<% if @issue.reporter %>
</ul>
<div class="note">
- <a href="#" onclick="return toggleIssueChangelog(this)">Hide</a><%= image_tag 'asc.png' -%>
+ <a href="#" onclick="return toggleIssueChangelog(this)"><%= message 'hide' -%></a><%= image_tag 'asc.png' -%>
</div>
\ No newline at end of file
<div class="code-issue" data-issue-key="<%= issue.key -%>" data-issue-component="<%= issue.componentKey() -%>" data-issue-rule="<%= issue.ruleKey().toString() -%>">
<div class="code-issue-name">
<div style="float: right">
- <a target="issue"
- href="<%= url_for :controller => 'issue', :action => 'show', :id => issue.key -%>">
- <img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif">
- </a>
+ <a href="#" onclick="return openIssuePopup(this)"><img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif"></a>
</div>
<img src="<%= ApplicationController.root_context -%>/images/priority/<%= issue.severity -%>.png" title="<%= h message("severity.#{issue.severity}") -%>">
<% end %>
<div class="note">
- <a href="#" onclick="return toggleIssueRule(this)">Hide</a><%= image_tag 'asc.png' -%>
+ <a href="#" onclick="return toggleIssueRule(this)"><%= message 'hide' -%></a><%= image_tag 'asc.png' -%>
<%= image_tag 'sep12.png' -%>
<%= @rule.plugin_name -%>
<%= image_tag 'sep12.png' -%>
-<div id="content">
- <%= render :partial => 'issue/show' -%>
-</div>
+<%= render :partial => 'issue/show' -%>
\ No newline at end of file
var ruleKey = issueElt.attr('data-issue-rule');
openPopup(baseUrl + "/rules/show/" + ruleKey + "?layout=false", 'rule');
return false;
+}
+
+function openIssuePopup(elt) {
+ var issueElt = $j(elt).closest('[data-issue-key]');
+ var issueKey = issueElt.attr('data-issue-key');
+ openPopup(baseUrl + "/issue/show/" + issueKey + "?layout=false", 'issue');
+ return false;
}
\ No newline at end of file
}
.code-global-issues {
- padding: 0 0 10px 0;
+ padding: 10px;
}
.code-issues {
font-size: 12px;
}
-
-
-
-
-
-
-
-
-
-
.tab_header {
border-bottom: 1px solid #DDD;
background-color: #EFEFEF;