diff options
author | Rémy Boulanouar <rboulanouar@gmail.com> | 2017-05-19 02:20:41 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-19 08:20:41 +0800 |
commit | 25d6e2a6601f6a8ffd812db35da7692a82044a7f (patch) | |
tree | 7511edee623b502f4890e16e3d552b135c8bc5f2 | |
parent | 0161e46b5a1a60b9e5a20438c5b67ca84dce5861 (diff) | |
download | gitea-25d6e2a6601f6a8ffd812db35da7692a82044a7f.tar.gz gitea-25d6e2a6601f6a8ffd812db35da7692a82044a7f.zip |
Add button to admin ui (#1738)
* Add button to admin ui
* Update according to review
* Update locale_fr-FR.ini
* Rollback to locale french file
-rw-r--r-- | options/locale/locale_en-US.ini | 1 | ||||
-rw-r--r-- | templates/admin/org/list.tmpl | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 8905f8817c..75f02a6268 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1148,6 +1148,7 @@ orgs.org_manage_panel = Organization Management orgs.name = Name orgs.teams = Teams orgs.members = Members +orgs.new_orga = Create Organization repos.repo_manage_panel = Repository Management repos.owner = Owner diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl index f2e258355d..362352b695 100644 --- a/templates/admin/org/list.tmpl +++ b/templates/admin/org/list.tmpl @@ -5,6 +5,9 @@ {{template "base/alert" .}} <h4 class="ui top attached header"> {{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) + <div class="ui right"> + <a class="ui black tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a> + </div> </h4> <div class="ui attached segment"> {{template "admin/base/search" .}} |