Merge pull request #549 from m0sth8/fix-timesince

Add omitted lang
This commit is contained in:
无闻 2014-10-11 17:36:33 -04:00
commit 17c1bc7383
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
<td>{{.Pid}}</td> <td>{{.Pid}}</td>
<td>{{.Description}}</td> <td>{{.Description}}</td>
<td>{{.Start}}</td> <td>{{.Start}}</td>
<td>{{TimeSince .Start}}</td> <td>{{TimeSince .Start .i18n.Lang}}</td>
</tr> </tr>
{{end}} {{end}}
</tbody> </tbody>

View File

@ -71,7 +71,7 @@
{{range .ClosedMilestones}} {{range .ClosedMilestones}}
<li class="milestone-item" data-id="{{.Id}}"> <li class="milestone-item" data-id="{{.Id}}">
<p><strong>{{.Name}}</strong></p> <p><strong>{{.Name}}</strong></p>
<p>Closed {{TimeSince .ClosedDate}}</p> <p>Closed {{TimeSince .ClosedDate $.Lang}}</p>
</li> </li>
{{end}} {{end}}
</ul> </ul>