Rename "People" to "Members" in organization page and use a better icon (#22960)

`member` is how it's named in the code

Closes #22931 

Before | After
--- | ---

![image](https://user-images.githubusercontent.com/20454870/219781155-69a8476e-0f04-4b70-bda5-ea6fa8ce676c.png)
|
![image](https://user-images.githubusercontent.com/20454870/219780887-61644c27-36a2-4e1f-8f98-be3911883b49.png)

---------

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: delvh <leon@kske.dev>
This commit is contained in:
Yarden Shoham 2023-02-18 15:41:31 +02:00 committed by GitHub
parent bd66fa586a
commit feed1ff38f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ You can try it out using [the online demo](https://try.gitea.io/).
- Permission to create organizations - Permission to create organizations
- Permission to import repositories - Permission to import repositories
- Organization management - Organization management
- People - Members
- Teams - Teams
- Avatar - Avatar
- Hooks - Hooks

View File

@ -2364,7 +2364,7 @@ org_full_name_holder = Organization Full Name
org_name_helper = Organization names should be short and memorable. org_name_helper = Organization names should be short and memorable.
create_org = Create Organization create_org = Create Organization
repo_updated = Updated repo_updated = Updated
people = People members = Members
teams = Teams teams = Teams
code = Code code = Code
lower_members = members lower_members = members

View File

@ -42,7 +42,7 @@
<div class="ui divider"></div> <div class="ui divider"></div>
{{end}} {{end}}
<h4 class="ui top attached header gt-df"> <h4 class="ui top attached header gt-df">
<strong class="gt-f1">{{.locale.Tr "org.people"}}</strong> <strong class="gt-f1">{{.locale.Tr "org.members"}}</strong>
<div class="ui"> <div class="ui">
<a class="text grey gt-dif gt-ac" href="{{.OrgLink}}/members"><span>{{.MembersTotal}}</span> {{svg "octicon-chevron-right"}}</a> <a class="text grey gt-dif gt-ac" href="{{.OrgLink}}/members"><span>{{.MembersTotal}}</span> {{svg "octicon-chevron-right"}}</a>
</div> </div>

View File

@ -18,7 +18,7 @@
{{end}} {{end}}
{{if .IsOrganizationMember}} {{if .IsOrganizationMember}}
<a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members"> <a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members">
{{svg "octicon-organization"}}&nbsp;{{$.locale.Tr "org.people"}} {{svg "octicon-person"}}&nbsp;{{$.locale.Tr "org.members"}}
{{if .NumMembers}} {{if .NumMembers}}
<div class="ui primary label">{{.NumMembers}}</div> <div class="ui primary label">{{.NumMembers}}</div>
{{end}} {{end}}

View File

@ -39,7 +39,7 @@
{{if .ContextUser.IsOrganization}} {{if .ContextUser.IsOrganization}}
{{if .IsOrganizationMember}} {{if .IsOrganizationMember}}
<a class="item" href="{{$.OrgLink}}/members"> <a class="item" href="{{$.OrgLink}}/members">
{{svg "octicon-organization"}}&nbsp;{{$.locale.Tr "org.people"}} {{svg "octicon-person"}}&nbsp;{{$.locale.Tr "org.members"}}
{{if .NumMembers}} {{if .NumMembers}}
<div class="ui primary label">{{.NumMembers}}</div> <div class="ui primary label">{{.NumMembers}}</div>
{{end}} {{end}}