mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor: remove the CTP_MEMBER user flag (#2465)
This commit is contained in:
1 parent
639ade3802
commit
ab68b61653
45 files changed
+206
-429
No files matched your search
@@ -28,11 +28,6 @@ const STAFF_DESCRIPTOR = msg({
|
||||
comment:
|
||||
'Short badge title in the user profile badges popout. Preserve {productName}; it is inserted by code. English locales use Title Case for official badge titles; other locales should use natural local capitalization.',
|
||||
});
|
||||
const COMMUNITY_TEAM_DESCRIPTOR = msg({
|
||||
message: '{productName} Community Team',
|
||||
comment:
|
||||
'Short badge title in the user profile badges popout. Preserve {productName}; it is inserted by code. English locales use Title Case for official badge titles; other locales should use natural local capitalization.',
|
||||
});
|
||||
const PARTNER_DESCRIPTOR = msg({
|
||||
message: '{productName} Partner',
|
||||
comment:
|
||||
@@ -104,14 +99,6 @@ export const UserProfileBadges: React.FC<UserProfileBadgesProps> = observer(
|
||||
url: Routes.careers(),
|
||||
});
|
||||
}
|
||||
if (!selfHosted && user.flags & PublicUserFlags.CTP_MEMBER) {
|
||||
result.push({
|
||||
type: 'icon',
|
||||
key: 'ctp_member',
|
||||
iconUrl: badgeAssetUrl('ctp.svg'),
|
||||
tooltip: i18n._(COMMUNITY_TEAM_DESCRIPTOR, {productName: PRODUCT_NAME}),
|
||||
});
|
||||
}
|
||||
if (!selfHosted && user.flags & PublicUserFlags.PARTNER) {
|
||||
result.push({
|
||||
type: 'icon',
|
||||
|
||||
Reference in new issue
Block a user