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
This commit is contained in:
Rémy Boulanouar 2017-05-19 02:20:41 +02:00 committed by Lunny Xiao
parent 0161e46b5a
commit 25d6e2a660
2 changed files with 4 additions and 0 deletions

View File

@ -1148,6 +1148,7 @@ orgs.org_manage_panel = Organization Management
orgs.name = Name orgs.name = Name
orgs.teams = Teams orgs.teams = Teams
orgs.members = Members orgs.members = Members
orgs.new_orga = Create Organization
repos.repo_manage_panel = Repository Management repos.repo_manage_panel = Repository Management
repos.owner = Owner repos.owner = Owner

View File

@ -5,6 +5,9 @@
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.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> </h4>
<div class="ui attached segment"> <div class="ui attached segment">
{{template "admin/base/search" .}} {{template "admin/base/search" .}}