{% load i18n spider_base %}
<data hidden="hidden" rel="spkc:properties">
  <data hidden="hidden" typeof="spkc:Property">
    <data hidden="hidden" property="spkc:name" datatype="xsd:string">name</data>
    <data hidden="hidden" property="spkc:value" datatype="xsd:string">{{object}}</data>
    <data hidden="hidden" property="spkc:hashable" datatype="xsd:boolean">true</data>
  </data>
</data>
{% if not object.quota_data.key_list %}
<div class="w3-padding">
  <div class="w3-white w3-padding" typeof="spkc:Property">
    <data hidden="hidden" property="spkc:name" datatype="xsd:string">text</data>
    <data hidden="hidden" property="spkc:hashable" datatype="xsd:boolean">true</data>
    <data property="spkc:value" datatype="xsd:string">{{text|safe}}</data>
  </div>
</div>
{% else %}
<data hidden="hidden" typeof="spkc:Property">
  <data hidden="hidden" property="spkc:name" datatype="xsd:string">file</data>
  <data hidden="hidden" property="spkc:hashable" datatype="xsd:boolean">false</data>
  <data hidden="hidden" property="spkc:value" datatype="spkc:hashableURI">{{download}}</data>
</data>
<data hidden="hidden" typeof="spkc:Property">
  <data hidden="hidden" property="spkc:name" datatype="xsd:string">key_list</data>
  <data hidden="hidden" property="spkc:hashable" datatype="xsd:boolean">true</data>
  <data hidden="hidden" property="spkc:value">{{object.quota_data.key_list}}</data>
</data>
<div>{% blocktrans trimmed %}
  You need the messaging app to decrypt/reencrypt this content
{% endblocktrans %}</div>
{% endif %}
{% include "spider_filets/license_info.html" %}
{% active_feature_names as fnames %}
{% if "EUDisclaimer" in fnames %}
<div class="w3-padding w3-small w3-text-red">
  {% blocktrans %}
  The author maybe profits financially from this blog post.
  {% endblocktrans %}
</div>
{% endif %}
{% if "update_guest" in abilities %}
<div class="w3-padding">
  <a href="{% fullurl_with_params 'spider_base:ucontent-access' sanitized_GET token=object.associated.token access='update_guest' %}">{% trans "Update" %}</a>
</div>
{% endif %}
