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
tokarchuk/v1.17
Rémy Boulanouar 8 years ago committed by Lunny Xiao
parent 0161e46b5a
commit 25d6e2a660
  1. 1
      options/locale/locale_en-US.ini
  2. 3
      templates/admin/org/list.tmpl

@ -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

@ -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" .}}

Loading…
Cancel
Save