Closed dhornbein closed 7 years ago
For bookmarks, what I had before had 2 different Icons depending on the current state of the Bookmark, and also included a tooltip...are these enhancements not seen as useful?
I presume if the user isn't logged-in then we shouldn't show the bookmark icon at all? Or should this show but then trigger a request to login?
Note that using the same variable for both a visible string & a class prevents the site being translated into other languages. This isn't an issue for WACOP, as I understand that this is only meant to be used in English...however if we hope to reuse some of this for SAFIRE, as per my understanding, then we should avoid putting up such barriers.
The images don't have dates or times in so I don't know how these are supposed to be formatted
re: Bookmarks, yes keep that functionality. I'll await Katie/Devin's response on if it should display to non-logged in users.
Note that using the same variable for both a visible string & a class prevents the site being translated into other languages.
Very good point. My intention is to use a special class in the header.status-bar
or the aside.card-alert
to change the icon (and any other styling) based on that class name. This could be accomplished with the status number: status-{{=status_num}}
What would you suggest the best solution is?
Date / time format:
mmm dd, yyyy @ hh:mm by name@example.com
OCT 23, 2017 @ 12:23 by user@example.com
att: @flavour
status_num would work, but I prefer more semantic terms so the English version of the status would be fine...just be clear that this needs to be a different variable
For Date/Time formatting, I see the Events have these, so I assume we should use the same formatting?
status_num would work, but I prefer more semantic terms so the English version of the status would be fine...just be clear that this needs to be a different variable
Yes me too. I'll just need to know what the output will be to create css to style the card correctly.
Hi I got a little lost on this thread. Are there any questions for me that I need to answer?
@devinbalkind: Nothing you need to engage with here currently, no :)
Alert cards display system wide alert messages.
Notes
header.status-bar
indicated by{{status}}
in the HTML below. This class should be a lowercase string with no spaces. I assume it can be generated based on the status variable.Data
HTML Structure