AA-357: Add reset dates banner to outline tab (#243)

This commit is contained in:
Carla Duarte
2020-10-15 13:44:04 -04:00
committed by GitHub
parent ae8141c1a8
commit 2d5af74b1b
8 changed files with 71 additions and 18 deletions

View File

@@ -186,18 +186,18 @@ function CourseCelebration({ intl }) {
{/* The requesting status needs a different button because it does a POST instead of a GET */}
{certStatus === 'requesting' && (
<Button
className="bg-white"
variant="outline-primary"
onClick={() => dispatch(requestCert(courseId))}
style={{ backgroundColor: 'white' }}
>
{buttonText}
</Button>
)}
{buttonLocation && (
<Button
className="bg-white"
variant="outline-primary"
href={buttonLocation}
style={{ backgroundColor: 'white' }}
>
{buttonText}
</Button>