From 268cbd55add6bf158100f96b882e7d2060bbd302 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Thu, 10 Dec 2015 15:15:56 +0100 Subject: [PATCH] Add logout link to submitted piece's hero component --- .../prize/portfolioreview/components/pr_hero.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/js/components/whitelabel/prize/portfolioreview/components/pr_hero.js b/js/components/whitelabel/prize/portfolioreview/components/pr_hero.js index 330b1372..0ef99c37 100644 --- a/js/components/whitelabel/prize/portfolioreview/components/pr_hero.js +++ b/js/components/whitelabel/prize/portfolioreview/components/pr_hero.js @@ -1,11 +1,14 @@ 'use strict'; import React from 'react'; +import { Link } from 'react-router'; + +import Glyphicon from 'react-bootstrap/lib/Glyphicon'; import UserStore from '../../../../../stores/user_store'; import UserActions from '../../../../../actions/user_actions'; -import Glyphicon from 'react-bootstrap/lib/Glyphicon'; +import { getLangText } from '../../../../../utils/lang_utils'; const PRHero = React.createClass({ @@ -31,9 +34,11 @@ const PRHero = React.createClass({ return (
-

Congratulations {currentUser.email}!

-

You have successfully submitted to Portfolio Review 2016

-

See below, your uploaded portfolio:

+

+  {getLangText('Congratulations') + (currentUser.email ? ` ${currentUser.email}!` : '!')} +

+

{getLangText('You have successfully submitted to Portfolio Review 2016.')}

+

Not you? {getLangText('Change account.')}

); }