diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-11-05 22:18:09 -0500 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-11-06 12:22:55 -0500 |
commit | 5a3673608fbc233af6d2ea2e7988040f29b2f6e2 (patch) | |
tree | 9cf44e98714f2adc777b6ab81ba2ca401983b462 /lib/render-msg.js | |
parent | f66b6d81d24f304e732a70bd98478b83f1c0aec8 (diff) | |
download | patchfoo-5a3673608fbc233af6d2ea2e7988040f29b2f6e2.tar.gz patchfoo-5a3673608fbc233af6d2ea2e7988040f29b2f6e2.zip |
Disable rating rendering
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r-- | lib/render-msg.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 5cd6e2d..9153178 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -459,8 +459,10 @@ var knownAboutProps = { startDateTime: true, endDateTime: true, location: true, + /* rating: true, ratingType: true, + */ } RenderMsg.prototype.about = function (cb) { @@ -533,13 +535,17 @@ RenderMsg.prototype.about = function (cb) { src: this.render.imageUrl(img), alt: ' ', })) : '', + /* this.c.rating != null ? this.aboutRating() : '', + */ extras ? this.valueTable(extras, 1, done()) : '' ], elCb) done(cb) } +/* + * disabled until it's clearer how to do this -cel RenderMsg.prototype.aboutRating = function (cb) { var rating = Number(this.c.rating) var type = this.c.ratingType || '★' @@ -554,6 +560,7 @@ RenderMsg.prototype.aboutRating = function (cb) { } return el } +*/ RenderMsg.prototype.contact = function (cb) { var self = this |