1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add date to notices display.

This commit is contained in:
Kevin Serrano 2016-12-16 13:31:12 -08:00
parent 73998feeb2
commit 8d0f4c2799
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -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', `