From a4267471a57c95dd99e17ee5e9fcc95892970764 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Fri, 13 Nov 2015 12:20:33 -0500 Subject: Converted DeletePostModal to React-Bootstrap --- web/react/components/post_info.jsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'web/react/components/post_info.jsx') diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx index a01d842e5..fffa5b19a 100644 --- a/web/react/components/post_info.jsx +++ b/web/react/components/post_info.jsx @@ -1,6 +1,7 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +var DeletePostModal = require('./delete_post_modal.jsx'); var UserStore = require('../stores/user_store.jsx'); var utils = require('../utils/utils.jsx'); var TimeSince = require('./time_since.jsx'); @@ -50,7 +51,7 @@ export default class PostInfo extends React.Component { data-channelid={post.channel_id} data-comments={dataComments} > - Edit + {'Edit'} ); @@ -65,14 +66,9 @@ export default class PostInfo extends React.Component { DeletePostModal.show(post, dataComments)} > - Delete + {'Delete'} ); @@ -89,7 +85,7 @@ export default class PostInfo extends React.Component { href='#' onClick={this.props.handleCommentClick} > - Reply + {'Reply'} ); -- cgit v1.2.3-1-g7c22