Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-01-15 10:06:12 +00:00
commit cf00ac34d9
2 changed files with 9 additions and 8 deletions

View File

@ -232,6 +232,14 @@ module.exports = React.createClass({
</div> </div>
); );
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
replyButton = (
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
{ _t('Reply') }
</div>
);
}
if (this.state.canPin) { if (this.state.canPin) {
pinButton = ( pinButton = (
<div className="mx_MessageContextMenu_field" onClick={this.onPinClick}> <div className="mx_MessageContextMenu_field" onClick={this.onPinClick}>
@ -280,14 +288,6 @@ module.exports = React.createClass({
{ _t('Quote') } { _t('Quote') }
</div> </div>
); );
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
replyButton = (
<div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}>
{ _t('Reply') }
</div>
);
}
} }
// Bridges can provide a 'external_url' to link back to the source. // Bridges can provide a 'external_url' to link back to the source.

View File

@ -28,6 +28,7 @@
.mx_QuotePreview_cancel { .mx_QuotePreview_cancel {
float: right; float: right;
cursor: pointer;
} }
.mx_QuotePreview_clear { .mx_QuotePreview_clear {