AA-357: Add reset dates banner to outline tab (#243)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user