From 8d0f4c27991bb042562913a514054396abf4f917 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Fri, 16 Dec 2016 13:31:12 -0800 Subject: [PATCH] Add date to notices display. --- ui/app/notice.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ui/app/notice.js b/ui/app/notice.js index 5e6028cff..0b59ebef8 100644 --- a/ui/app/notice.js +++ b/ui/app/notice.js @@ -23,10 +23,24 @@ function Notice () { Notice.prototype.render = function () { const props = this.props const title = props.lastUnreadNotice.title + const date = props.lastUnreadNotice.date return ( h('.flex-column.flex-center.flex-grow', [ h('h3.flex-center.text-transform-uppercacse.terms-header', { + style: { + background: '#EBEBEB', + color: '#AEAEAE', + width: '100%', + fontSize: '20px', + textAlign: 'center', + padding: 6, + }, + }, [ + title, + ]), + + h('h5.flex-center.text-transform-uppercacse.terms-header', { style: { background: '#EBEBEB', color: '#AEAEAE', @@ -37,7 +51,7 @@ Notice.prototype.render = function () { padding: 6, }, }, [ - title, + date, ]), h('style', `