mirror of
https://github.com/wassname/talk.git
synced 2026-07-26 13:37:38 +08:00
update classes to follow talk naming convention
This commit is contained in:
@@ -14,7 +14,7 @@ export default ({handleChange, handleApply, changed, ...props}) => (
|
||||
<h3>{t('configure.title')}</h3>
|
||||
<Button
|
||||
type="submit"
|
||||
className={cn(styles.apply, 'configureCommentStreamSubmitButton')}
|
||||
className={cn(styles.apply, 'talk-embed-stream-configuration-submit-button')}
|
||||
onChange={handleChange}
|
||||
cStyle={changed ? 'green' : 'darkGrey'} >
|
||||
{t('configure.apply')}
|
||||
|
||||
@@ -102,7 +102,7 @@ class ConfigureStreamContainer extends Component {
|
||||
const closedTimeout = dirtySettings.closedTimeout;
|
||||
|
||||
return (
|
||||
<div className='configureContainer'>
|
||||
<div className='talk-embed-stream-configuration-container'>
|
||||
<ConfigureCommentStream
|
||||
handleChange={this.handleChange}
|
||||
handleApply={this.handleApply}
|
||||
|
||||
@@ -71,7 +71,7 @@ class ProfileContainer extends Component {
|
||||
const emailAddress = localProfile && localProfile.id;
|
||||
|
||||
return (
|
||||
<div className='profileContainer'>
|
||||
<div className='talk-embed-stream-profile-container'>
|
||||
<h2>{user.username}</h2>
|
||||
{emailAddress ? <p>{emailAddress}</p> : null}
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import t from 'coral-framework/services/i18n';
|
||||
import {BASE_PATH} from 'coral-framework/constants/url';
|
||||
|
||||
const ModerationLink = (props) => props.isAdmin ? (
|
||||
<div className={cn(styles.moderationLink, 'moderationLinkContainer')}>
|
||||
<a className='moderationLink' href={`${BASE_PATH}admin/moderate/${props.assetId}`} target="_blank">
|
||||
<div className={cn(styles.moderationLink, 'talk-embed-stream-moderation-container')}>
|
||||
<a className='talk-embed-stream-moderation-link' href={`${BASE_PATH}admin/moderate/${props.assetId}`} target="_blank">
|
||||
{t('moderate_this_stream')}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user