🎨
This commit is contained in:
		
							parent
							
								
									71bbef69c7
								
							
						
					
					
						commit
						a5aaa032ca
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -944,6 +944,7 @@ _role: | ||||||
|   manual: "マニュアル" |   manual: "マニュアル" | ||||||
|   conditional: "コンディショナル" |   conditional: "コンディショナル" | ||||||
|   condition: "条件" |   condition: "条件" | ||||||
|  |   isConditionalRole: "これはコンディショナルロールです。" | ||||||
|   isPublic: "ロールを公開" |   isPublic: "ロールを公開" | ||||||
|   descriptionOfIsPublic: "ロールにアサインされたユーザーを誰でも見ることができます。また、ユーザーのプロフィールでこのロールが表示されます。" |   descriptionOfIsPublic: "ロールにアサインされたユーザーを誰でも見ることができます。また、ユーザーのプロフィールでこのロールが表示されます。" | ||||||
|   options: "オプション" |   options: "オプション" | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
| 					<template #label>{{ i18n.ts.info }}</template> | 					<template #label>{{ i18n.ts.info }}</template> | ||||||
| 					<XEditor :role="role" readonly/> | 					<XEditor :role="role" readonly/> | ||||||
| 				</MkFolder> | 				</MkFolder> | ||||||
| 				<MkFolder default-open> | 				<MkFolder v-if="role.target === 'manual'" default-open> | ||||||
| 					<template #icon><i class="ti ti-users"></i></template> | 					<template #icon><i class="ti ti-users"></i></template> | ||||||
| 					<template #label>{{ i18n.ts.users }}</template> | 					<template #label>{{ i18n.ts.users }}</template> | ||||||
| 					<template #suffix>{{ role.users.length }}</template> | 					<template #suffix>{{ role.users.length }}</template> | ||||||
|  | @ -28,6 +28,7 @@ | ||||||
| 						</div> | 						</div> | ||||||
| 					</div> | 					</div> | ||||||
| 				</MkFolder> | 				</MkFolder> | ||||||
|  | 				<MkInfo v-else>{{ i18n.ts._role.isConditionalRole }}</MkInfo> | ||||||
| 			</div> | 			</div> | ||||||
| 		</MkSpacer> | 		</MkSpacer> | ||||||
| 	</MkStickyContainer> | 	</MkStickyContainer> | ||||||
|  | @ -45,6 +46,7 @@ import { definePageMetadata } from '@/scripts/page-metadata'; | ||||||
| import { useRouter } from '@/router'; | import { useRouter } from '@/router'; | ||||||
| import MkButton from '@/components/MkButton.vue'; | import MkButton from '@/components/MkButton.vue'; | ||||||
| import MkUserCardMini from '@/components/MkUserCardMini.vue'; | import MkUserCardMini from '@/components/MkUserCardMini.vue'; | ||||||
|  | import MkInfo from '@/components/MkInfo.vue'; | ||||||
| 
 | 
 | ||||||
| const router = useRouter(); | const router = useRouter(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue