Browse Source

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
for-closed-social
Rémy Boulanouar 7 years ago
committed by Lunny Xiao
parent
commit
25d6e2a660
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      options/locale/locale_en-US.ini
  2. +3
    -0
      templates/admin/org/list.tmpl

+ 1
- 0
options/locale/locale_en-US.ini 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

+ 3
- 0
templates/admin/org/list.tmpl 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" .}}

Loading…
Cancel
Save