<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 href="#" onclick="return openIssuePopup(this)"><img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif"></a>
+ <a href="#" onclick="return openIssuePopup(this)" class="issue-permalink"><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}") -%>">
- <a href="#" onclick="return toggleIssueRule(this)" class="rulename"><%= h Internal.rules.ruleL10nName(@issue_results.rule(issue)) -%></a>
+ <a href="#" onclick="return toggleIssueRule(this)" class="rulename issue-rule-link"><%= h Internal.rules.ruleL10nName(@issue_results.rule(issue)) -%></a>
<% if issue.resolution %>
<img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
<% end %>
<img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
- <a href="#" onclick="return toggleIssueChangelog(this)" class="gray"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a>
+ <a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a>
<% if issue.reporter %>
<img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
-<div class="source_title">
- <%
- project = @issue_results.project(@issue)
- component = @issue_results.component(@issue)
- %>
+<div class="issue-detail">
+ <div class="source_title">
+ <%
+ project = @issue_results.project(@issue)
+ component = @issue_results.component(@issue)
+ %>
- <% if @issue.componentKey() != project.key() %>
- <div class="subtitle">
- <%= h project.longName() -%>
- </div>
- <% end %>
- <span class="h1">
- <% if component %>
- <%= qualifier_icon(component) %>
- <a href="<%= ApplicationController.root_context -%>/resource/index/<%= component.key() -%>?layout=false&tab=issues"
- onclick="window.open(this.href,'resource-<%= component.key().parameterize -%>','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= h component.longName() -%></a>
- <% else %>
- <%= h @issue.componentKey() %> [<del><%= message('issue.component_deleted') %></del>]
+ <% if @issue.componentKey() != project.key() %>
+ <div class="subtitle">
+ <%= h project.longName() -%>
+ </div>
<% end %>
- </span>
-</div>
-
-<div class="marginbottom10">
-<%= render :partial => 'issue/issue', :locals => {:issue => @issue_results.first} -%>
-</div>
+ <span class="h1">
+ <% if component %>
+ <%= qualifier_icon(component) %>
+ <a href="<%= ApplicationController.root_context -%>/resource/index/<%= component.key() -%>?layout=false&tab=issues" class="issue-component-link"
+ onclick="window.open(this.href,'resource-<%= component.key().parameterize -%>','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= h component.longName() -%></a>
+ <% else %>
+ <%= h @issue.componentKey() %> [<del><%= message('issue.component_deleted') %></del>]
+ <% end %>
+ </span>
+ </div>
-<% if @snapshot && @issue.line && params[:source]!='false' %>
- <div class="bordered">
- <%= snapshot_html_source(@snapshot, {:line_range => (@issue.line-5)..(@issue.line+5), :highlighted_lines => [@issue.line]}) -%>
+ <div class="marginbottom10">
+ <%= render :partial => 'issue/issue', :locals => {:issue => @issue_results.first} -%>
</div>
-<% end %>
+
+ <% if @snapshot && @issue.line && params[:source]!='false' %>
+ <div class="bordered">
+ <%= snapshot_html_source(@snapshot, {:line_range => (@issue.line-5)..(@issue.line+5), :highlighted_lines => [@issue.line]}) -%>
+ </div>
+ <% end %>
+</div>
\ No newline at end of file
<table class="data width100">
<thead>
<tr>
- <th width="1%" nowrap>
+ <th width="1%" nowrap class="column-severity">
<%= column_html(@filter, message('severity_abbreviated'), message('severity'), 'SEVERITY') %>
</th>
- <th width="1%" nowrap>
+ <th width="1%" nowrap class="column-status">
<%= column_html(@filter, message('status'), message('status'), 'STATUS') %>
</th>
<th width="1%" nowrap>
<th nowrap>
<%= message('component') -%>
</th>
- <th>
+ <th class="column-assignee">
<%= column_html(@filter, message('issue_filter.header.assignee'), message('issue_filter.header.assignee'), 'ASSIGNEE') %>
</th>
<th width="1%" nowrap>
<%= message('issue_filter.header.action_plan') -%>
</th>
- <th width="1%" nowrap>
+ <th width="1%" nowrap class="column-creation-date">
<%= column_html(@filter, message('issue_filter.header.creation_date'), message('issue_filter.header.creation_date'), 'CREATION_DATE') %>
</th>
- <th width="1%" nowrap>
+ <th width="1%" nowrap class="column-update-date">
<%= column_html(@filter, message('issue_filter.header.update_date'), message('issue_filter.header.update_date'), 'UPDATE_DATE') %>
</th>
</tr>
<%= message("issue.resolution.#{issue.resolution}") if issue.resolution -%>
</td>
<td>
- <a class='open-modal rule-modal' modal-width='900' href='<%= url_for :controller => 'issue', :action => 'show', :id => issue.key, :modal => true -%>'>
+ <a class='open-modal rule-modal issue-detail-link' modal-width='900' href='<%= url_for :controller => 'issue', :action => 'show', :id => issue.key, :modal => true -%>'>
<%= h truncate(issue.message, :length => 100) -%></a>
</td>
<td>