2020-06-04 22:11:27 +05:30
|
|
|
import { defineMessages } from 'react-intl';
|
2019-12-07 16:58:52 +05:30
|
|
|
import factory from '../factory';
|
2016-05-14 16:56:17 +05:30
|
|
|
import Body from './PermissionsBody';
|
2016-02-13 20:58:47 +05:30
|
|
|
|
2020-06-04 22:11:27 +05:30
|
|
|
const messages = defineMessages({
|
|
|
|
permissionsTitle: 'Application permissions',
|
|
|
|
decline: 'Decline',
|
|
|
|
approve: 'Approve',
|
|
|
|
});
|
|
|
|
|
2016-07-24 15:47:41 +05:30
|
|
|
export default factory({
|
2020-05-24 04:38:24 +05:30
|
|
|
title: messages.permissionsTitle,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'orange',
|
|
|
|
autoFocus: true,
|
|
|
|
label: messages.approve,
|
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.decline,
|
|
|
|
},
|
2016-07-24 15:47:41 +05:30
|
|
|
});
|