diff options
author | Tamás Molnár <moltam@gmail.com> | 2016-03-06 17:36:30 +0100 |
---|---|---|
committer | Tamás Molnár <moltam@gmail.com> | 2016-03-06 17:36:30 +0100 |
commit | 9c91e279338f4d8bf09e1f7f5904d34cd525b102 (patch) | |
tree | 32882aa197724e0f75608c9bfd16a24650b7be22 /templates/org/settings | |
parent | c2ca103d30b0f47b5ad0fa544ab5a07263894ea3 (diff) | |
download | gitea-9c91e279338f4d8bf09e1f7f5904d34cd525b102.tar.gz gitea-9c91e279338f4d8bf09e1f7f5904d34cd525b102.zip |
Added: Ability to delete org avatar.
Diffstat (limited to 'templates/org/settings')
-rw-r--r-- | templates/org/settings/options.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index 64be63b7ef..8041365434 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -59,6 +59,7 @@ <div class="field"> <button class="ui green button">{{$.i18n.Tr "settings.update_avatar"}}</button> + <a class="ui red button delete-post" data-request-url="{{.Link}}/avatar/delete" data-done-url="{{.Link}}">{{$.i18n.Tr "settings.delete_current_avatar"}}</a> </div> </form> </div> |