Posts: restore "Tip unlock | Claim details" component #6051

Merged
infinite-persistence merged 2 commits from ip/md-post-tip-unlock into master 2021-05-12 20:26:47 +02:00

2 commits

Author SHA1 Message Date
infinite-persistence
04e5c2998a
Posts: restore "Tip unlock | Claim details" component
## Issue
5882: tip unlock + claim id detials missing from markdown posts view

## Notes
The easiest solution would be to put `FileDescription` into posts, but I think that goes against the clean up of the Post layout, where the focus should be on the content. The faded style of the File Details section seems too distracting, plus we don't want the File Description anyway.

Fixed by:
- Make the existing "LBC amount" clickable to show credit details. An additional padlock will appear if the content is yours and you have tips to unlock.
- Add an "info" icon beside it to show file details.

These "link" buttons are usually lit, but I dimmed it in this case to make them stand out less. Again, focusing on Post content instead of buttons.
2021-05-12 10:59:25 +08:00
infinite-persistence
ee7d22d41a
Add ICON.INFO - "i" within a circle.
Basically, an inverted ICON.ALERT.
2021-05-12 10:46:39 +08:00