app/appengine: correctly align subheading2 in subrepo tables

Currently, the subheading2 cells in the subrepo tables are shifted by
one to the left due to the additional cell for the Go commit. There are
4 fixed <th> cells while there are 5 <td> cells (subrepo commit, Go
commit, user, time and description).

Make the first <th> have a colspan of 2 in case of the subrepo table so
the subheading2 cells align correctly.

Change-Id: I1ca7157cecf6530cff5883154f367684b0695081
Reviewed-on: https://go-review.googlesource.com/c/build/+/183217
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Tobias Klauser 2019-06-20 09:23:04 +02:00 коммит произвёл Dmitri Shuralyov
Родитель c7084d3a2d
Коммит 01b32fab87
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -88,7 +88,7 @@
</tr> </tr>
<tr class="subheading2"> <tr class="subheading2">
<th>&nbsp;</th> <th {{if $.Package.Path}}colspan="2"{{end}}>&nbsp;</th>
<th></th> <th></th>
<th></th> <th></th>
<th></th> <th></th>