From c5119ae3c80df38b9b4314c53bf1890084167b05 Mon Sep 17 00:00:00 2001 From: Wykks Date: Mon, 27 Jul 2015 09:49:33 -0700 Subject: [PATCH 1/2] NotFoundPage: Fix missing h1 tag around notFoundTitle message --- src/pages/NotFoundPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/NotFoundPage.js b/src/pages/NotFoundPage.js index 4946077..c20297e 100644 --- a/src/pages/NotFoundPage.js +++ b/src/pages/NotFoundPage.js @@ -6,7 +6,7 @@ class NotFoundPage extends React.Component { render() { return (
- +

); } From 2f1e00d0ad12b8a2fd38d1a7dff88f78de868dcc Mon Sep 17 00:00:00 2001 From: Wykks Date: Mon, 27 Jul 2015 10:03:02 -0700 Subject: [PATCH 2/2] ErrorPage: Use meta.errorTitle instead of hardcoded message --- src/pages/ErrorPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/ErrorPage.js b/src/pages/ErrorPage.js index 6dbbe09..c968165 100644 --- a/src/pages/ErrorPage.js +++ b/src/pages/ErrorPage.js @@ -1,4 +1,5 @@ import React, { PropTypes } from "react"; +import { FormattedMessage } from "../utils/IntlComponents"; class ErrorPage extends React.Component { @@ -10,7 +11,7 @@ class ErrorPage extends React.Component { const { err } = this.props; return (
-

Error displaying this page

+

{ process.env.NODE_ENV === "development" && err &&