aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-11-05 22:18:09 -0500
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-11-06 12:22:55 -0500
commit5a3673608fbc233af6d2ea2e7988040f29b2f6e2 (patch)
tree9cf44e98714f2adc777b6ab81ba2ca401983b462
parentf66b6d81d24f304e732a70bd98478b83f1c0aec8 (diff)
downloadpatchfoo-5a3673608fbc233af6d2ea2e7988040f29b2f6e2.tar.gz
patchfoo-5a3673608fbc233af6d2ea2e7988040f29b2f6e2.zip
Disable rating rendering
-rw-r--r--lib/render-msg.js7
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