--- a/client/src/components/Note.js Thu Oct 11 11:05:04 2018 +0200
+++ b/client/src/components/Note.js Tue Nov 06 16:19:26 2018 +0100
@@ -56,30 +56,6 @@
)
}
- // renderNoteMarginComment() {
- // if (this.props.isEditing) {
- // return (
- // <div className="row">
- // <div className="note-margin-comment w-25 mt-3">
- // <input type="text" className="form-control"
- // name="margin"
- // componentClass="textarea"
- // placeholder="Espace pour un commentaire de marge"
- // defaultValue={ this.props.note.marginComment }
- // // inputRef={ ref => { this.marginComment = ref; } } />
- // ref={(marginComment) => { this.marginComment = marginComment; }} />
- // </div>
- // </div>
- // )
- // }
-
- // return (
- // <div className="note-margin-comment w-25 mt-5">
- // <small className="text-muted">{ this.props.note.marginComment }</small>
- // </div>
- // )
- // }
-
renderNoteRight() {
if (this.props.isEditing) {
return (
@@ -101,8 +77,8 @@
<div id={"note-" + this.props.note._id} className="note text-sm mr-5 pt-1"
onClick={ this.props.onClick }>
<div className="mr-5">
- <small className="start text-warning pt-2">{ formatTimestamp(this.props.note.startedAt) }</small>
- <small className="finish text-warning pb-2">{ formatTimestamp(this.props.note.finishedAt) }</small>
+ <small className="start text-irinotes-time pt-2">{ formatTimestamp(this.props.note.startedAt) }</small>
+ <small className="finish text-irinotes-time pb-2">{ formatTimestamp(this.props.note.finishedAt) }</small>
</div>
{ this.renderNoteContent() }
{/* { this.renderNoteMarginComment() } */}