<%= message('status') -%>:
</td>
<td class="val">
- <%= image_tag "status/#{review.status}.png" -%> <%= message("reviews.status.#{review.status}") -%>
+ <%= image_tag "status/#{review.status}.png" -%> <span class="reviewStatus<%= @review.status -%>"><%= message("reviews.status.#{review.status}") -%></span>
<% if @review.resolution.present? %>
- <span class="reviewResolution<%= @review.resolution -%>">(<%= message("reviews.resolution.#{@review.resolution}") -%>)</span>
+ (<span class="reviewResolution<%= @review.resolution -%>"><%= message("reviews.resolution.#{@review.resolution}") -%></span>)
<% end %>
</td>
<td class="key">
<img src="<%= ApplicationController.root_context -%>/images/priority/<%= violation.failure_level -%>.png">
- <% if violation.review && violation.review.manual_severity && violation.review.severity!=violation.severity %>
- <img src="<%= ApplicationController.root_context -%>/images/priority/<%= violation.review.severity -%>.png">
-
- <% end %>
-
<img src="<%= ApplicationController.root_context -%>/images/sep12.png">
<span class="rulename">
<span class="reviewResolved"><%= message('reviews.status.RESOLVED') -%></span>
<% end %>
- <% if violation.review && violation.review.reopened? %>
- <img src="<%= ApplicationController.root_context -%>/images/sep12.png">
-
- <span class="reviewReopened"><%= message('reviews.status.REOPENED') -%></span>
-
- <% end %>
<% if violation.review && violation.review.assignee_id %>
<img src="<%= ApplicationController.root_context -%>/images/sep12.png">
// show violation actions
function sVA(violation_id) {
- var elt = $('vMsg' + violation_id);
- if (elt != null) {
- elt.hide();
- }
- elt = $('vActions' + violation_id);
+ var elt = $('vActions' + violation_id);
if (elt != null) {
elt.show();
}
// hide violation actions
function hVA(violation_id) {
- var elt = $('vMsg' + violation_id);
- if (elt != null) {
- elt.show();
- }
- elt = $('vActions' + violation_id);
+ var elt = $('vActions' + violation_id);
if (elt != null) {
elt.hide();
}
background-color: #FFF;
margin: 0;
border: 1px solid #DDD;
+ font-size: 12px;
}
.sources2 div.violation .actions, #global_violations div.violation .actions {
div.review_permalink {
float: right;
color: #333333;
- font-size: 12px;
font-weight: bold;
margin: 0;
padding: 0 10px;
}
div.vActions {
+ position: absolute;
line-height: 1.5em;
height: 1.5em;
+ padding-right: 10px;
max-height: 1.5em;
+ background-color: #F4F4F4;
+ box-shadow: 10px 10px 10px #EFEFEF;
}
span.review_permalink a {
color: #777;
- font-size: 90%;
+ font-size: 11px;
padding: 0 0 0 20px;
- background: url('../images/zoom.png') no-repeat left;
}
span.rulename a:hover {