Skip to content

Commit 25d6e2a

Browse files
DblKlunny
authored andcommitted
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
1 parent 0161e46 commit 25d6e2a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ orgs.org_manage_panel = Organization Management
11481148
orgs.name = Name
11491149
orgs.teams = Teams
11501150
orgs.members = Members
1151+
orgs.new_orga = Create Organization
11511152

11521153
repos.repo_manage_panel = Repository Management
11531154
repos.owner = Owner

templates/admin/org/list.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
{{template "base/alert" .}}
66
<h4 class="ui top attached header">
77
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
8+
<div class="ui right">
9+
<a class="ui black tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
10+
</div>
811
</h4>
912
<div class="ui attached segment">
1013
{{template "admin/base/search" .}}

0 commit comments

Comments
 (0)