display slack attachments in RHS comment section
Этот коммит содержится в:
@@ -9,6 +9,7 @@ var utils = require('../utils/utils.jsx');
|
|||||||
var FileAttachmentList = require('./file_attachment_list.jsx');
|
var FileAttachmentList = require('./file_attachment_list.jsx');
|
||||||
var twemoji = require('twemoji');
|
var twemoji = require('twemoji');
|
||||||
var Constants = require('../utils/constants.jsx');
|
var Constants = require('../utils/constants.jsx');
|
||||||
|
const PostBodyAdditionalContent = require('./post_body_additional_content.jsx');
|
||||||
|
|
||||||
export default class RhsRootPost extends React.Component {
|
export default class RhsRootPost extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@@ -180,6 +181,9 @@ export default class RhsRootPost extends React.Component {
|
|||||||
onClick={TextFormatting.handleClick}
|
onClick={TextFormatting.handleClick}
|
||||||
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
|
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
|
||||||
/>
|
/>
|
||||||
|
<PostBodyAdditionalContent
|
||||||
|
post={post}
|
||||||
|
/>
|
||||||
{fileAttachment}
|
{fileAttachment}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -674,7 +674,7 @@ body.ios {
|
|||||||
width: 20%;
|
width: 20%;
|
||||||
float: right;
|
float: right;
|
||||||
img {
|
img {
|
||||||
height: 75px;
|
max-height: 75px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user