gitea/modules/templates
Lunny Xiao eacab6b10d
Add disable download source configuration (#20548) (#20579)
* Add disable download source configuration (#20548)

Add configuration to enable/disable download source from UI.

Co-authored-by: zeripath <art27@cantab.net>

* Fix BaseVars not used in renderering

* Fix disabled open in vscode menu when disabling download source from UI

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-08-12 23:53:10 +08:00
..
vars Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
base.go Add disable download source configuration (#20548) (#20579) 2022-08-12 23:53:10 +08:00
dynamic.go Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
helper.go fix push mirrors URL are no longer displayed on the UI (#20011) 2022-06-18 11:30:26 +08:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
static.go Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
templates_bindata.go Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00