-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem.html
172 lines (153 loc) · 4.16 KB
/
item.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<div class="row">
<div class="medium-10 medium-offset-1 column">
<div class="card card-full">
{% if item.images.first %}
<div class="row">
<div class="large-12">
<ul class="orbit" style="width:100% !important;" data-orbit>
{% for image in item.images %}
<li>
{{image | image_tag: project, "small"}}
</li>
{%endfor%}
</ul>
</div>
</div>
{% endif %}
<div class="row">
<div class="medium-12 column">
<p class="lead">{{item.name}}</p>
</div>
</div>
{% if item.description != "" %}
<div class="row">
<div class="medium-12 column">
<h4>About</h4>
{{item.description}}
</div>
</div>
{% endif %}
{% if item.full_text != "" %}
<div class="row">
<div class="medium-12 column">
<h4>Details</h4>
{{item.full_text}}
</div>
</div>
{% endif %}
<div class="row">
<div class="medium-6 column">
<div><b>Item details</b></div>
<hr />
<dl>
<dt>Publication details: </dt>
<dd>{{item.custom_data["publication_details"]}}</dd>
<dt>Language: </dt>
<dd>{{item.custom_data["language"]}}</dd>
<dt>Physical description: </dt>
<dd>{{item.custom_data["physical_description"]}}</dd>
<dt>Purchase price: </dt>
<dd>{{item.custom_data["purchase_price"]}}</dd>
<dt>Identifier: </dt>
<dd>{{item.custom_data["identifier"]}}</dd>
<dt>Notes: </dt>
<dd>{{item.custom_data["notes"]}}</dd>
</dl>
<!-- {{item.custom_data}} -->
</div>
<div class="medium-6 column">
<div><b>Collection details</b></div>
<hr />
<dl>
<dt>Place of collection: </dt>
<dd>{{item.custom_data["where"]}}</dd>
<dt>Collected by: </dt>
<dd>{{item.custom_data["who"]}}</dd>
<dt>Collection date: </dt>
<dd>{{item.custom_data["when"]}}</dd>
<dt>More information: </dt>
<dd>{{item.custom_data["more_information"]}}</dd>
</dl>
</div>
</div>
<div class="row">
<div class="medium-6 column">
<div><b>Categories</b></div>
<hr />
<ul>
{% for cat in item.categories %}
<li>
{% assign cat_path = items_path | append: "?category=" | append: cat.name %}
{{ cat.name | link_to: cat_path}}
</li>
{% endfor %}
</ul>
</div>
<div class="medium-6 column">
<div><b>Tags</b></div>
<hr />
<ul>
{% for tag in item.tags %}
<li>
{% assign tag_path = items_path | append: "?tag=" | append: tag.name %}
{{ tag.name | link_to: tag_path}}
</li>
{% endfor %}
</ul>
</div>
</div>
{% if item.notes != "" %}
<div class="row">
<div class='large-12 column'>
<h4>Notes</h4>
{{item.notes}}
</div>
</div>
{% endif %}
</div>
</div>
</div>
<!--
{% if item.images.first %}
<div class="row">
<div class="large-4 large-offset-4">
<ul class="orbit" style="width:256px;" data-orbit>
{% for image in item.images %}
<li>
{{image | image_tag: project, "small"}}
</li>
{%endfor%}
</ul>
</div>
</div>
{% endif %}
<div class="row">
<div class="medium-12 column">
<h1>{{item.name}}</h1>
</div>
</div>
<div class="row">
<div class="medium-12 column">
<h4>About</h4>
{{item.description }}
</div>
</div>
<div class="row">
<div class="medium-12 column">
<h4>Details</h4>
{{item.full_text}}
</div>
</div>
<div class="row">
<div class="medium-12 column">
{{item | custom_data_grouped: project}}
{{item | custom_data_other: project}}
</div>
</div>
<div class="row">
<div class='large-12 column'>
<h4>Notes</h4>
{{item.notes}}
</div>
</div>
-->