feat(ui): use simplified visibility label in dashboard orgs list (#8582)

Followup to https://codeberg.org/forgejo/forgejo/pulls/6201

Label height making entry height inconsistent isn't a concern because this change makes them 2px shorter. _And they are already inconsistent._

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8582
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
0ko 2025-07-21 09:20:24 +02:00 committed by Otto
parent 95e8bbd5f0
commit 9b470d2709

View file

@ -457,7 +457,7 @@ export default sfc; // activate the IDE's Vue plugin
<svg-icon name="octicon-organization" :size="16" class="repo-list-icon"/>
<div class="text truncate">{{ org.name }}</div>
<div><!-- div to prevent underline of label on hover -->
<span class="ui tiny basic label" v-if="org.org_visibility !== 'public'">
<span class="ui label" v-if="org.org_visibility !== 'public'">
{{ org.org_visibility === 'limited' ? textOrgVisibilityLimited: textOrgVisibilityPrivate }}
</span>
</div>