PLT-3875 Update error page to use Markdown and add error for missing OAuth code (#3934)
* Update error page to use Markdown and add error for missing OAuth code * Add line breaks to error messages This is to make the error message easier to read. * Update en.json
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a3ea884419
Коммит
dda0ea3552
@@ -7,6 +7,7 @@ import React from 'react';
|
||||
import {Link} from 'react-router/es6';
|
||||
|
||||
import * as Utils from 'utils/utils.jsx';
|
||||
import * as TextFormatting from 'utils/text_formatting.jsx';
|
||||
|
||||
export default class ErrorPage extends React.Component {
|
||||
componentDidMount() {
|
||||
@@ -43,7 +44,7 @@ export default class ErrorPage extends React.Component {
|
||||
<i className='fa fa-exclamation-triangle'/>
|
||||
</div>
|
||||
<h2>{title}</h2>
|
||||
<p>{message}</p>
|
||||
<div dangerouslySetInnerHTML={{__html: TextFormatting.formatText(message)}}/>
|
||||
<Link to={link}>{linkMessage}</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Ссылка в новой задаче
Block a user