+
{compareHeader}
-
- | {translate('compare')} |
+
+ | {translate('compare')} |
-
- {facets.map((f, i) =>
- -
+
+ {facets.map((f, i) => (
+ -
{'↔ ' + translate(f.title)}
- )}
+ ))}
|
-
+
- {!builds.length ?
-
this.chartRef = node}>{translate('PHRASE_NO_BUILDS')}
:
- facets.filter((f) => f.active).map((f, i) =>
-
this.chartRef = node : null}>
-
{translate(f.title)}
+ {!builds.length ? (
+
(this.chartRef = node)}>
+ {translate('PHRASE_NO_BUILDS')}
+
+ ) : (
+ facets.filter(f => f.active).map((f, i) => (
+
(this.chartRef = node) : null}
+ >
+
+ {translate(f.title)}
+
+ ))
)}
-
+
);
}
diff --git a/src/app/pages/NotFoundPage.jsx b/src/app/pages/NotFoundPage.jsx
index b5e0943a..a2d9c1a9 100644
--- a/src/app/pages/NotFoundPage.jsx
+++ b/src/app/pages/NotFoundPage.jsx
@@ -1,10 +1,11 @@
import React from 'react';
import Page from './Page';
+import AdSense from 'react-adsense';
+
/**
* 404 Page
*/
export default class NotFoundPage extends Page {
-
/**
* Constructor
* @param {Object} props React Component properties
@@ -21,7 +22,16 @@ export default class NotFoundPage extends Page {
* @return {React.Component} The page contents
*/
renderPage() {
- return
Page {this.context.route.path} Not Found
-
;
+ return (
+
+ Page
{this.context.route.path} Not Found
+
+
+ );
}
}
diff --git a/src/app/pages/ShipyardPage.jsx b/src/app/pages/ShipyardPage.jsx
index 10f0994f..3301e655 100644
--- a/src/app/pages/ShipyardPage.jsx
+++ b/src/app/pages/ShipyardPage.jsx
@@ -612,14 +612,14 @@ export default class ShipyardPage extends Page {
{detailRows}