Browse Source

Merge pull request #549 from m0sth8/fix-timesince

Add omitted lang
for-closed-social
无闻 10 years ago
parent
commit
17c1bc7383
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/admin/monitor.tmpl
  2. +1
    -1
      templates/repo/issue/create.tmpl

+ 1
- 1
templates/admin/monitor.tmpl View File

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

+ 1
- 1
templates/repo/issue/create.tmpl View File

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

Loading…
Cancel
Save