gitea/templates/user
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check ()
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>
..
auth Return `access_denied` error when an OAuth2 request is denied ()
dashboard Refactor repo unit "disabled" check ()
notification Fix overflow on notifications ()
overview Fix the spacing issue in the Project view ()
settings Fix some URLs whose sub-path is missing ()
code.tmpl Unify search boxes ()
heatmap.tmpl Fix more "locale" usages ()
profile.tmpl Fix the spacing issue in the Project view ()