diff options
author | Hester Gong <hestergong@gmail.com> | 2023-05-07 08:33:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 08:33:43 +0800 |
commit | 97b70a0cd40e8f73cdf6ba4397087b45061de3d8 (patch) | |
tree | 878155790a561bf97c1b2d7d9ccee7ea24c73b3b /web_src/js/components | |
parent | 4daf40505a5f89747982ddd2f1df2a4001720846 (diff) | |
download | gitea-97b70a0cd40e8f73cdf6ba4397087b45061de3d8.tar.gz gitea-97b70a0cd40e8f73cdf6ba4397087b45061de3d8.zip |
Add org visibility label to non-organization's dashboard (#24558)
Diffstat (limited to 'web_src/js/components')
-rw-r--r-- | web_src/js/components/DashboardRepoList.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index 33b312aa6e..5cedbcb000 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -131,6 +131,9 @@ <div class="text truncate item-name gt-f1"> <svg-icon name="octicon-organization" :size="16" class-name="gt-mr-2"/> <strong>{{ org.name }}</strong> + <span class="ui tiny basic label gt-ml-3" v-if="org.org_visibility !== 'public'"> + {{ org.org_visibility === 'limited' ? textOrgVisibilityLimited: textOrgVisibilityPrivate }} + </span> </div> <div class="text light grey gt-df gt-ac"> {{ org.num_repos }} |