Hopefully another easy one! I'm not sure I quite have the concept of
where/whether Exhibit uses label variants (
pluralLabel/reverseLabel/reversePluralLabel/groupingLabel/reverseGroupingLabel)
down, but I would like to call on specific labels when displaying records.
In particular, where followers_count is a property of a record of item type
bot, I'm trying to get:
<span data-ex-if-exists=".followers_count" class="followers_count"> (<span
data-ex-content=".followers_count"></span> <span data-ex-content=".
followers_count.pluralLabel"></span>)</span>
To display something like (3232 followers) or (1 follower) accordingly,
rather than the (3232 ) I'm getting currently. The relevant excerpt from
schema.js:
"properties": {
"followers_count": {
"valueType":"number",
"label": "follower",
"pluralLabel": "followers"
}
}
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.