aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-12-17 05:31:12 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-12-17 05:31:12 +0800
commit8d0f4c27991bb042562913a514054396abf4f917 (patch)
treebad10c0895956ac6e86be8f3fa3e6b8ee8f063e1 /ui
parent73998feeb2b6ba4ebb9a16c6ed54cce195c09013 (diff)
downloadtangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar.gz
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar.bz2
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar.lz
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar.xz
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.tar.zst
tangerine-wallet-browser-8d0f4c27991bb042562913a514054396abf4f917.zip
Add date to notices display.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/notice.js16
1 files changed, 15 insertions, 1 deletions
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,6 +23,7 @@ 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', [
@@ -30,7 +31,6 @@ Notice.prototype.render = function () {
style: {
background: '#EBEBEB',
color: '#AEAEAE',
- marginBottom: 24,
width: '100%',
fontSize: '20px',
textAlign: 'center',
@@ -40,6 +40,20 @@ Notice.prototype.render = function () {
title,
]),
+ h('h5.flex-center.text-transform-uppercacse.terms-header', {
+ style: {
+ background: '#EBEBEB',
+ color: '#AEAEAE',
+ marginBottom: 24,
+ width: '100%',
+ fontSize: '20px',
+ textAlign: 'center',
+ padding: 6,
+ },
+ }, [
+ date,
+ ]),
+
h('style', `
.markdown {