Skip to content

Commit 8a4d26a

Browse files
committed
Add date to lecture title
1 parent 681212a commit 8a4d26a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2354,7 +2354,10 @@ class App extends Component {
23542354
</div>
23552355
<div className='p-col'>
23562356
<h2 style={{ margin: '4px 0' }}>Course: {coursename}</h2>
2357-
<h3 style={{ margin: '2px 0' }}>Lecture: {lecturename}</h3>
2357+
<h3 style={{ margin: '2px 0' }}>
2358+
Lecture: {lecturename}{' '}
2359+
{date ? '(' + moment(date).format('D.M.YYYY') + ')' : ''}
2360+
</h3>
23582361
<h4 style={{ margin: '2px 0' }}>
23592362
{this.state.editDisplaynames ? (
23602363
<Fragment>

0 commit comments

Comments
 (0)