diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2023-02-18 15:41:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 21:41:31 +0800 |
commit | feed1ff38f88115f27ea2357a97c21e5277aac88 (patch) | |
tree | b67193dfdb2cf3e8d4553ce1e14615115c5b88b0 /templates | |
parent | bd66fa586a0da58c4cf2f5f8390aef4bac9d0527 (diff) | |
download | gitea-feed1ff38f88115f27ea2357a97c21e5277aac88.tar.gz gitea-feed1ff38f88115f27ea2357a97c21e5277aac88.zip |
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>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/org/home.tmpl | 2 | ||||
-rw-r--r-- | templates/org/menu.tmpl | 2 | ||||
-rw-r--r-- | templates/user/overview/header.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 1b3cabbde7..e1adaf1c1b 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -42,7 +42,7 @@ <div class="ui divider"></div> {{end}} <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"> <a class="text grey gt-dif gt-ac" href="{{.OrgLink}}/members"><span>{{.MembersTotal}}</span> {{svg "octicon-chevron-right"}}</a> </div> diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl index 5f543424fc..7ca47cd32c 100644 --- a/templates/org/menu.tmpl +++ b/templates/org/menu.tmpl @@ -18,7 +18,7 @@ {{end}} {{if .IsOrganizationMember}} <a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members"> - {{svg "octicon-organization"}} {{$.locale.Tr "org.people"}} + {{svg "octicon-person"}} {{$.locale.Tr "org.members"}} {{if .NumMembers}} <div class="ui primary label">{{.NumMembers}}</div> {{end}} diff --git a/templates/user/overview/header.tmpl b/templates/user/overview/header.tmpl index eac23fe53f..2449f5fc32 100644 --- a/templates/user/overview/header.tmpl +++ b/templates/user/overview/header.tmpl @@ -39,7 +39,7 @@ {{if .ContextUser.IsOrganization}} {{if .IsOrganizationMember}} <a class="item" href="{{$.OrgLink}}/members"> - {{svg "octicon-organization"}} {{$.locale.Tr "org.people"}} + {{svg "octicon-person"}} {{$.locale.Tr "org.members"}} {{if .NumMembers}} <div class="ui primary label">{{.NumMembers}}</div> {{end}} |