PLT-2555/PLT-5009/PLT-5225 Changed system messages to be rendered by the client (#5209)

* Moved rendering of (message deleted) into PostMessageView

* Added additional post types to constants on client

* Changed system messages to be rendered in the client's language

* Updated new system messages to have relevant usernames highlighted and have markdown rendered in header change messages
Этот коммит содержится в:
Harrison Healey
2017-01-30 11:49:00 -05:00
коммит произвёл GitHub
родитель 63d68b3e36
Коммит 39ee5737b7
13 изменённых файлов: 321 добавлений и 51 удалений

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

@@ -1170,7 +1170,7 @@ export function clearFileInput(elm) {
}
export function isPostEphemeral(post) {
return post.type === Constants.POST_TYPE_EPHEMERAL || post.state === Constants.POST_DELETED;
return post.type === Constants.PostTypes.EPHEMERAL || post.state === Constants.POST_DELETED;
}
export function getRootId(post) {