diff options
author | Unknwon <u@gogs.io> | 2015-07-24 23:13:42 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-24 23:13:42 +0800 |
commit | dc4aab9925b46f8ad4b18f7926e2904163c1c5b5 (patch) | |
tree | 77bb65a5407f7daddf2166054d0abf757dc32715 /templates/base | |
parent | 3426ae42b3eadd5acd43e20470a8f1dd45bb55b0 (diff) | |
download | gitea-dc4aab9925b46f8ad4b18f7926e2904163c1c5b5.tar.gz gitea-dc4aab9925b46f8ad4b18f7926e2904163c1c5b5.zip |
UI: CURD labels
- fix update lable break connection with repository
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/alert.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base/alert.tmpl b/templates/base/alert.tmpl index 15eeb566bd..c845e36dc5 100644 --- a/templates/base/alert.tmpl +++ b/templates/base/alert.tmpl @@ -2,4 +2,9 @@ <div class="ui negative message"> <p>{{.Flash.ErrorMsg}}</p> </div> +{{end}} +{{if .Flash.SuccessMsg}} +<div class="ui positive message"> + <p>{{.Flash.SuccessMsg}}</p> +</div> {{end}}
\ No newline at end of file |