summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet_source.html
blob: a1a8948dc829c5e604d05a8af5cffd7f100de3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% extends "ishtar/sheet.html" %}
{% load i18n window_field link_to_window %}

{% block content %}
{% block window_nav %}{% endblock %}
{% block general %}

{% if item.image %}
<div class="row">
    <div class="offset-lg-4 col-lg-4 offset-md-3 col-md-6 offset-sm-1 col-sm-10 col-12">
        <div class="card">
            <img class='card-img-top' src="{{item.thumbnail.url}}">
        </div>
    </div>
</div>
{% endif %}

<div class="row">
    {% block related %}
    {% trans "Related item" as related_item_label %}
    {% field_flex related_item_label item.owner %}
    {% endblock %}
    {% field_flex "Title" item.title %}
    {% field_flex "Index" item.index %}
    {% field_flex "Source type" item.source_type %}
    {% field_flex "Format type" item.format_type %}
    {% field_flex "Scale" item.scale %}
    {% trans "Web link" as weblink_label %}
    {% field_flex_url weblink_label item.associated_url %}
    {% field_flex "Item number" item.item_number %}
    {% field_flex "Ref." item.reference %}
    {% field_flex "Internal ref." item.internal_reference %}
    {% field_flex "Creation date" item.creation_date %}
    {% field_flex "Receipt date" item.receipt_date %}
    {% field_flex "Receipt date in documentation" item.receipt_date_in_documentation %}
    {% field_flex "Has a duplicate" item.duplicate %}
    {% field_flex "Description" item.description %}
    {% field_flex "Comment" item.comment %}
    {% field_flex "Additional information" item.additional_information %}
    {% field_flex_full "Authors" item.authors|add_links:'person' %}
</div>

{% endblock %}
{% endblock %}