From a1dc64ae330b6759c4d62eac57f3dbfee6771d61 Mon Sep 17 00:00:00 2001
From: Douglas Hall
Date: Fri, 22 Mar 2019 10:35:09 -0400
Subject: [PATCH] Display certificate issue date on certificate cards.
---
src/components/ProfilePage/Certificates.jsx | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/components/ProfilePage/Certificates.jsx b/src/components/ProfilePage/Certificates.jsx
index 0f64ea4..558e6b7 100644
--- a/src/components/ProfilePage/Certificates.jsx
+++ b/src/components/ProfilePage/Certificates.jsx
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
-import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
+import { injectIntl, intlShape, FormattedDate, FormattedMessage } from 'react-intl';
import { Row, Col, Card, CardBody, CardTitle, Button, Form } from 'reactstrap';
import { connect } from 'react-redux';
import get from 'lodash.get';
@@ -49,7 +49,7 @@ class Certificates extends React.Component {
}
renderCertificate({
- certificateType, courseDisplayName, courseOrganization, downloadUrl,
+ certificateType, courseDisplayName, courseOrganization, modifiedDate, downloadUrl,
}) {
const { intl } = this.props;
const certificateIllustration = ((type) => {
@@ -91,6 +91,15 @@ class Certificates extends React.Component {
{courseOrganization}
+
+ ,
+ }}
+ />
+