diff options
author | zeripath <art27@cantab.net> | 2020-10-21 00:50:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 19:50:10 -0400 |
commit | 965861043ae4daf7ae50460edf5533e52980bdb1 (patch) | |
tree | 5b4ecf5e4ce21195e5cb5c449c98ee82a170d005 /routers/repo/repo.go | |
parent | 48a80096bbc7bb4b0fef487df8f176c08f0bf609 (diff) | |
download | gitea-965861043ae4daf7ae50460edf5533e52980bdb1.tar.gz gitea-965861043ae4daf7ae50460edf5533e52980bdb1.zip |
Return the full rejection message and errors in flash errors (#13221)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 883d30a5d9..742c952f6e 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -24,7 +24,8 @@ import ( ) const ( - tplCreate base.TplName = "repo/create" + tplCreate base.TplName = "repo/create" + tplAlertDetails base.TplName = "base/alert_details" ) // MustBeNotEmpty render when a repo is a empty git dir |