mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing premium expire date for users without expiring premiums.
This commit is contained in:
parent
c8858bd8d4
commit
10ca97e497
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ _.extend(NEWSBLUR.ReaderAccount.prototype, {
|
|||
$.make('div', { className: 'NB-block' }, [
|
||||
$.make('span', { className: 'NB-raquo' }, '»'),
|
||||
' ',
|
||||
NEWSBLUR.utils.format_date(NEWSBLUR.Globals.premium_expire)
|
||||
(NEWSBLUR.Globals.premium_expire && NEWSBLUR.utils.format_date(NEWSBLUR.Globals.premium_expire)),
|
||||
(!NEWSBLUR.Globals.premium_expire && $.make('b', "Never gonna expire. Congrats!"))
|
||||
]),
|
||||
$.make('a', { href: '#', className: 'NB-block NB-account-premium-renew NB-modal-submit-button NB-modal-submit-green' }, 'Change your credit card')
|
||||
]),
|
||||
|
|
Loading…
Add table
Reference in a new issue