diff --git a/src/components/Assignments/Assignment/AssignmentDetails/AssignmentDetails.js b/src/components/Assignments/Assignment/AssignmentDetails/AssignmentDetails.js
index 33e3370be..82f9119c2 100644
--- a/src/components/Assignments/Assignment/AssignmentDetails/AssignmentDetails.js
+++ b/src/components/Assignments/Assignment/AssignmentDetails/AssignmentDetails.js
@@ -128,11 +128,15 @@ const AssignmentDetails = ({
defaultMessage="Solutions submitted before the first deadline are considered to be on time and graded with full points. Submissions made between the deadlines are considered to be late but still worth some points. Submissions made after the second deadline are evaluated, but awarded no points. Open the graph to see in detail how the deadlines affect the awarded points."
/>
-
-
+ {(maxPointsBeforeFirstDeadline !== 0 || maxPointsBeforeSecondDeadline !== 0) && (
+ <>
+
+
+ >
+ )}
>
) : (
<>
@@ -303,7 +307,7 @@ const AssignmentDetails = ({
- {allowSecondDeadline && (
+ {(maxPointsBeforeFirstDeadline !== 0 || (allowSecondDeadline && maxPointsBeforeSecondDeadline !== 0)) && (
setOpen(false)} size="xl">
diff --git a/src/components/Solutions/SolutionStatus/SolutionStatus.js b/src/components/Solutions/SolutionStatus/SolutionStatus.js
index 1a1d78fbc..3210367cc 100644
--- a/src/components/Solutions/SolutionStatus/SolutionStatus.js
+++ b/src/components/Solutions/SolutionStatus/SolutionStatus.js
@@ -458,38 +458,42 @@ class SolutionStatus extends Component {