Skip to content

Commit

Permalink
Disable striping for app id / name when multiple attempts exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Vanzin committed Apr 10, 2015
1 parent 9092af5 commit 07446c6
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,13 @@ private[history] class HistoryPage(parent: HistoryServer) extends WebUIPage("")
<tr>
{
if (isFirst) {
if (info.attempts.size > 1) {
<td rowspan={info.attempts.size.toString}><a href={uiAddress}>{info.id}</a></td> ++
<td rowspan={info.attempts.size.toString}>{info.name}</td>
if (info.attempts.size > 1 || renderAttemptIdColumn) {
<td rowspan={info.attempts.size.toString} style="background-color: #ffffff">
<a href={uiAddress}>{info.id}</a></td>
<td rowspan={info.attempts.size.toString} style="background-color: #ffffff">
{info.name}</td>
} else {
<td><a href={uiAddress}>{info.id}</a></td> ++
<td><a href={uiAddress}>{info.id}</a></td>
<td>{info.name}</td>
}
} else {
Expand Down

0 comments on commit 07446c6

Please sign in to comment.