{# @description The card a sample of any type is drawn as in a listing: image or icon, its type, name, the dataset it belongs to and its identifiers. The whole card is one link to the sample. #}
{# @prop object:text | description:"The sample, loaded with its dataset (`select_related('dataset')`)." #}
{% load i18n thumbnail %}
{% comment %}
One card for every sample type, sharing the `record-card` classes with the project and dataset
cards, so change all three together. Its stylesheet is linked once from base.html, never here.
It reads the sample's own fields and its dataset, and nothing else, so a listing that loads the
dataset adds no query per card.
{% endcomment %}