equal
deleted
inserted
replaced
5 import {formatTimestamp} from '../utils'; |
5 import {formatTimestamp} from '../utils'; |
6 |
6 |
7 const SessionSummary = ({notes}) => ( |
7 const SessionSummary = ({notes}) => ( |
8 <ul className="list-group sticky-left"> |
8 <ul className="list-group sticky-left"> |
9 {notes.map((note) => |
9 {notes.map((note) => |
10 <li className="list-group-item border-0" key={note.get('_id')}> |
10 <li className="list-group-item border-0" key={note._id}> |
11 <a href={'#note-' + note.get('_id')}> |
11 <a href={'#note-' + note._id}> |
12 <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.startedAt)}</small> |
12 <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.startedAt)}</small> |
13 <small className="note-length font-weight-bold px-2 text-muted text-center">{_.words(note.plain).length} mots</small> |
13 <small className="note-length font-weight-bold px-2 text-muted text-center">{_.words(note.plain).length} mots</small> |
14 <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.finishedAt)}</small> |
14 <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.finishedAt)}</small> |
15 </a> |
15 </a> |
16 </li> |
16 </li> |