Secondary card - Waiviogit/waivio GitHub Wiki
Secondary card - it is the card for an object which has a campaign. And for this campaign, this object is the secondary object.
Element | Description |
---|---|
TITLE |
title "Reward for reviews" |
EARN |
information about the rewards for the review. How much will the performer of the campaign receive for the review. The price is in dollars. |
USER AVATAR |
user avatar who is the sponsor of the campaign, after clicking - the object page is opened. |
USERNAME |
username who is the sponsor of the campaign, after clicking - the sponsor page is opened. |
WAIVIO USERNAME |
username on waivio, after clicking - the object page is opened. |
AVATAR |
object avatar. If the object's secondary does not have an avatar, then the parent's avatar is pulled by default. After clicking - the object page is opened. |
PRIMARY NAME |
parent's name. If present, it displays above the object name, in gray letters. After clicking - the object page is opened |
NAME |
object name, after clicking - the object page is opened. |
RATING |
object rating. There is an opportunity to vote on stars. |
OBJECT TYPE |
object type. Not clickable. |
PRICE |
object price. Not clickable. |
TAGS |
object tags. Display the 2 with the highest weight. Not clickable. |
ADDRESS |
object address. Not clickable. |
TITLE OR DESCRIPTION |
if the object has a title, then it is displayed, if there is no title, but there is a description, the description is displayed. If there is no title and description, nothing is displayed. Not clickable. |
RESERVE |
button for booking a campaign, after clicking a modal booking window opens. |
DAYS |
"for {number} days" - the inscription displays the number of days that this campaign will be available for reservation. Not clickable. |
DETAILS |
link, after clicking on which a modal window for booking opens. |
HEART |
button to add to shop. If primary object is book or product type. |
Everything that is displayed on the card, regulated, edited, added to the object page.