2020-07-24 19:19:11 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { FormattedMessage as Message, defineMessages } from 'react-intl';
|
|
|
|
|
2019-12-07 13:28:52 +02:00
|
|
|
import factory from '../factory';
|
2016-05-14 14:26:17 +03:00
|
|
|
import Body from './PermissionsBody';
|
2016-02-13 17:28:47 +02:00
|
|
|
|
2020-06-04 19:41:27 +03:00
|
|
|
const messages = defineMessages({
|
|
|
|
permissionsTitle: 'Application permissions',
|
|
|
|
decline: 'Decline',
|
|
|
|
});
|
|
|
|
|
2016-07-24 13:17:41 +03:00
|
|
|
export default factory({
|
2020-05-24 02:08:24 +03:00
|
|
|
title: messages.permissionsTitle,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'orange',
|
|
|
|
autoFocus: true,
|
2020-07-24 19:19:11 +03:00
|
|
|
children: <Message key="approve" defaultMessage="Approve" />,
|
2020-05-24 02:08:24 +03:00
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.decline,
|
|
|
|
},
|
2016-07-24 13:17:41 +03:00
|
|
|
});
|