File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
apps/src/templates/sectionProgress Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const styles = {
8
8
header : {
9
9
fontWeight : 'bold' ,
10
10
color : color . charcoal ,
11
+ textAlign : 'center' ,
11
12
} ,
12
13
th : {
13
14
backgroundColor : color . lightest_gray ,
@@ -34,12 +35,22 @@ export default class SummaryViewLegend extends Component {
34
35
35
36
render ( ) {
36
37
const { showCSFProgressBox} = this . props ;
38
+ const headerColSpan = showCSFProgressBox ? 2 : 3 ;
37
39
38
40
return (
39
- < div style = { { marginTop : 30 } } >
40
- < h4 style = { styles . header } > { i18n . lessonStatus ( ) } </ h4 >
41
+ < div style = { { marginTop : 60 } } >
41
42
< table >
42
43
< thead >
44
+ < tr >
45
+ < td colSpan = { headerColSpan } >
46
+ < h3 style = { styles . header } > { i18n . lessonStatus ( ) } </ h3 >
47
+ </ td >
48
+ { showCSFProgressBox &&
49
+ < td colSpan = { 2 } >
50
+ < h3 style = { styles . header } > { i18n . completionStatus ( ) } </ h3 >
51
+ </ td >
52
+ }
53
+ </ tr >
43
54
< tr >
44
55
< th style = { styles . th } > { i18n . notStarted ( ) } </ th >
45
56
< th style = { styles . th } > { i18n . inProgress ( ) } </ th >
You can’t perform that action at this time.
0 commit comments