Commit 2d6a6ed9 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/dashboard: fix bug in UI template

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5700078
parent 8421390c
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</td> </td>
{{end}} {{end}}
<td class="user" title="{{.User}}">{{shortUser .User}}</td> <td class="user" title="{{.User}}">{{shortUser .User}}</td>
<td class="time">{{.Time.Time.Format "Mon 02 Jan 15:04"}}</td> <td class="time">{{.Time.Format "Mon 02 Jan 15:04"}}</td>
<td class="desc" title="{{.Desc}}">{{shortDesc .Desc}}</td> <td class="desc" title="{{.Desc}}">{{shortDesc .Desc}}</td>
</tr> </tr>
{{end}} {{end}}
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
{{end}} {{end}}
{{with $pkg.Commit}} {{with $pkg.Commit}}
<td class="user" title="{{.User}}">{{shortUser .User}}</td> <td class="user" title="{{.User}}">{{shortUser .User}}</td>
<td class="time">{{.Time.Time.Format "Mon 02 Jan 15:04"}}</td> <td class="time">{{.Time.Format "Mon 02 Jan 15:04"}}</td>
<td class="desc" title="{{.Desc}}">{{shortDesc .Desc}}</td> <td class="desc" title="{{.Desc}}">{{shortDesc .Desc}}</td>
{{end}} {{end}}
</tr> </tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment