2020-06-04 19:41:27 +03:00
|
|
|
import { 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',
|
|
|
|
approve: 'Approve',
|
|
|
|
});
|
|
|
|
|
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,
|
|
|
|
label: messages.approve,
|
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.decline,
|
|
|
|
},
|
2016-07-24 13:17:41 +03:00
|
|
|
});
|