Skip to content

Commit

Permalink
[webui] Use patchinfo summary instead of description
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Feb 29, 2012
1 parent 6f1d277 commit aeeccaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/webui/app/views/shared/_incident_table.html.erb
Expand Up @@ -7,7 +7,7 @@
<thead>
<tr>
<th rowspan="2" style="width: 1%">ID</th>
<th rowspan="2" style="width: 40%">Description</th>
<th rowspan="2" style="width: 40%">Summary</th>
<th rowspan="2" style="width: 1%">Info</th>
<th rowspan="2" style="width: 1%">Release Targets</th>
<th colspan="3" style="width: 1%">Patchinfo</th>
Expand Down
4 changes: 2 additions & 2 deletions src/webui/app/views/shared/_incident_table_entries.html.erb
Expand Up @@ -9,8 +9,8 @@
</td>
<td rowspan="<%= release_targets_ng.length %>">
<span class="expandable_incident_description">
<% if rt[:patchinfo] && rt[:patchinfo].value('description') && !rt[:patchinfo].value('description').empty? %>
<%= rt[:patchinfo].value('description') %>
<% if rt[:patchinfo] && rt[:patchinfo].value('summary') && !rt[:patchinfo].value('summary').empty? %>
<%= rt[:patchinfo].value('summary') %>
<% else %>
<i><%= incident.value('title') %></i>
<% end %>
Expand Down

0 comments on commit aeeccaa

Please sign in to comment.