diff --git a/modules/references/client/components/Info.js b/modules/references/client/components/Info.js
index 6ba8042e90..9ed30e4a20 100644
--- a/modules/references/client/components/Info.js
+++ b/modules/references/client/components/Info.js
@@ -31,16 +31,14 @@ Duplicate.propTypes = {
userTo: PropTypes.object.isRequired
};
-export function Submitted({ isReported, isPublic, userTo }) {
+export function Submitted({ isReported, isPublic, userFrom, userTo }) {
const name = userTo.displayName || userTo.username;
const isPublicMessage = (isPublic) ?
(
<>
-
Your reference for is public now.
- {/* TODO add the links here */}
-
-
+
+
>
) :
(
@@ -57,6 +55,7 @@ export function Submitted({ isReported, isPublic, userTo }) {
}
Submitted.propTypes = {
+ userFrom: PropTypes.object.isRequired,
userTo: PropTypes.object.isRequired,
isReported: PropTypes.bool.isRequired,
isPublic: PropTypes.bool.isRequired
diff --git a/modules/references/client/components/Interaction.js b/modules/references/client/components/Interaction.js
index 961242d149..73d357d282 100644
--- a/modules/references/client/components/Interaction.js
+++ b/modules/references/client/components/Interaction.js
@@ -12,36 +12,40 @@ export default function Interaction(props) {
{(!isInteraction) ? (
- Sorry, you cannot leave them a reference if you didn't have any previous interraction.
+ Please tell us about your interaction.
) : null}
diff --git a/modules/references/client/components/ReferencesNew.component.js b/modules/references/client/components/ReferencesNew.component.js
index 4ffdaebcc9..072b17e0db 100644
--- a/modules/references/client/components/ReferencesNew.component.js
+++ b/modules/references/client/components/ReferencesNew.component.js
@@ -137,7 +137,7 @@ export default class ReferencesNew extends React.Component {
if (this.state.isSubmitted) {
const isReported = this.state.reference.recommend === 'no' && this.state.report;
const isPublic = this.state.isPublic;
- return ;
+ return ;
}
return (
@@ -151,10 +151,12 @@ export default class ReferencesNew extends React.Component {
{tabs[0]}
{tabs[1]}
{/* */}
diff --git a/modules/references/client/components/Report.js b/modules/references/client/components/Report.js
index 78893bcc29..fa33c858a4 100644
--- a/modules/references/client/components/Report.js
+++ b/modules/references/client/components/Report.js
@@ -8,15 +8,16 @@ export default function Report(props) {
We're sad to hear you didn't have great experience using Trustroots! 😞
-
-
+
+
+
{(props.report) ?