Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1eaf63cd

Přidáno uživatelem Jaroslav Hrubý před více než 2 roky(ů)

User detail improved

Zobrazit rozdíly:

webapp/pages/documents/admin/index.tsx
305 305
    const menu = (user: DocumentUserInfo, record: DocumentListInfo) => {
306 306
        return (
307 307
            <Menu>
308
                <Menu.ItemGroup title={getNameTruncated(user)}>
308
                <Menu.ItemGroup
309
                    title={
310
                        <div>
311
                            <Row>
312
                                <Typography.Text>
313
                                    {getNameTruncated(user) + ' (' + user.username + ')'}
314
                                </Typography.Text>
315
                            </Row>
316
                            <Row>
317
                                <Typography.Text>
318
                                    {user.state
319
                                        ? 'stav anotace: ' +
320
                                          getAnnotationStateString(user.state)
321
                                        : ''}
322
                                </Typography.Text>
323
                            </Row>
324
                        </div>
325
                    }
326
                >
309 327
                    <Menu.Item
310 328
                        icon={<FileSearchOutlined />}
311 329
                        onClick={() =>

Také k dispozici: Unified diff