mirror of https://github.com/go-gitea/gitea.git
Browse Source
1. There are already global "unit consts", no need to use context data, which is fragile 2. Remove the "String()" method from "unit", it would only cause rendering problems in templates --------- Co-authored-by: silverwind <me@silverwind.io>pull/31419/head
11 changed files with 25 additions and 55 deletions
Loading…
Reference in new issue