Display username 'System' for system messages

Этот коммит содержится в:
Florian Orben
2015-12-07 18:37:21 +01:00
родитель b06f11fd63
Коммит 7d3b3869c9
4 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@@ -34,7 +34,7 @@ export default class PostHeader extends React.Component {
userProfile = ( userProfile = (
<UserProfile <UserProfile
userId={''} userId={''}
overwriteName={''} overwriteName={Constants.SYSTEM_MESSAGE_PROFILE_NAME}
overwriteImage={Constants.SYSTEM_MESSAGE_PROFILE_IMAGE} overwriteImage={Constants.SYSTEM_MESSAGE_PROFILE_IMAGE}
disablePopover={true} disablePopover={true}
/> />

Просмотреть файл

@@ -167,7 +167,7 @@ export default class RhsRootPost extends React.Component {
userProfile = ( userProfile = (
<UserProfile <UserProfile
userId={''} userId={''}
overwriteName={''} overwriteName={Constants.SYSTEM_MESSAGE_PROFILE_NAME}
overwriteImage={Constants.SYSTEM_MESSAGE_PROFILE_IMAGE} overwriteImage={Constants.SYSTEM_MESSAGE_PROFILE_IMAGE}
disablePopover={true} disablePopover={true}
/> />

Просмотреть файл

@@ -121,6 +121,7 @@ export default {
POST_DELETED: 'deleted', POST_DELETED: 'deleted',
POST_TYPE_JOIN_LEAVE: 'system_join_leave', POST_TYPE_JOIN_LEAVE: 'system_join_leave',
SYSTEM_MESSAGE_PREFIX: 'system_', SYSTEM_MESSAGE_PREFIX: 'system_',
SYSTEM_MESSAGE_PROFILE_NAME: 'System',
SYSTEM_MESSAGE_PROFILE_IMAGE: '/static/images/logo_compact.png', SYSTEM_MESSAGE_PROFILE_IMAGE: '/static/images/logo_compact.png',
RESERVED_TEAM_NAMES: [ RESERVED_TEAM_NAMES: [
'www', 'www',

Просмотреть файл

@@ -373,10 +373,6 @@ body.ios {
background-color: beige; background-color: beige;
} }
&.post--system .post__header .col__name {
display: none;
}
ul { ul {
margin: 0; margin: 0;
padding: 0; padding: 0;