Multiple UI Improvements
Этот коммит содержится в:
@@ -353,7 +353,7 @@ export default class UserItem extends React.Component {
|
||||
|
||||
return (
|
||||
<tr>
|
||||
<td className='row member-div'>
|
||||
<td className='row member-div padding--equal'>
|
||||
<img
|
||||
className='post-profile-img pull-left'
|
||||
src={`/api/v1/users/${user.id}/image?time=${user.update_at}&${Utils.getSessionIndex()}`}
|
||||
|
||||
@@ -56,7 +56,7 @@ class ChannelInfoModal extends React.Component {
|
||||
</div>
|
||||
<div className='col-sm-9'>{channelURL}</div>
|
||||
</div>
|
||||
<div className='row'>
|
||||
<div className='row form-group'>
|
||||
<div className='col-sm-3 info__label'>
|
||||
<FormattedMessage
|
||||
id='channel_info.id'
|
||||
|
||||
@@ -28,6 +28,7 @@ import {FormattedMessage} from 'mm-intl';
|
||||
|
||||
const Popover = ReactBootstrap.Popover;
|
||||
const OverlayTrigger = ReactBootstrap.OverlayTrigger;
|
||||
const attachFastClick = require('fastclick');
|
||||
|
||||
export default class Navbar extends React.Component {
|
||||
constructor(props) {
|
||||
@@ -59,6 +60,7 @@ export default class Navbar extends React.Component {
|
||||
ChannelStore.addChangeListener(this.onChange);
|
||||
ChannelStore.addExtraInfoChangeListener(this.onChange);
|
||||
$('.inner__wrap').click(this.hideSidebars);
|
||||
attachFastClick(document.body);
|
||||
}
|
||||
componentWillUnmount() {
|
||||
ChannelStore.removeChangeListener(this.onChange);
|
||||
|
||||
@@ -486,13 +486,9 @@ class GeneralTab extends React.Component {
|
||||
inputs.push(
|
||||
<div key='teamInviteSetting'>
|
||||
<div className='row'>
|
||||
<label className='col-sm-5 control-label'>
|
||||
<FormattedMessage
|
||||
id='general_tab.codeTitle'
|
||||
defaultMessage='Invite Code'
|
||||
/>
|
||||
<label className='col-sm-5 control-label visible-xs-block'>
|
||||
</label>
|
||||
<div className='col-sm-7'>
|
||||
<div className='col-sm-12'>
|
||||
<input
|
||||
className='form-control'
|
||||
type='text'
|
||||
|
||||
@@ -183,7 +183,7 @@ export default class ManageIncomingHooks extends React.Component {
|
||||
<div key='addIncomingHook'>
|
||||
<FormattedHTMLMessage
|
||||
id='user.settings.hooks_in.description'
|
||||
defaultMessage='Create webhook URLs for use in external integrations. Please see<a href="http://mattermost.org/webhooks" target="_blank">http://mattermost.org/webhooks</a> to learn more.'
|
||||
defaultMessage='Create webhook URLs for use in external integrations. Please see <a href="http://mattermost.org/webhooks" target="_blank">http://mattermost.org/webhooks</a> to learn more.'
|
||||
/>
|
||||
<div><label className='control-label padding-top x2'>
|
||||
<FormattedMessage
|
||||
|
||||
Ссылка в новой задаче
Block a user