-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfields.html
37 lines (36 loc) · 950 Bytes
/
fields.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
---
layout: default
title: Fields
---
<table>
<thead>
<tr>
<th>Field ID</th>
<th>Record</th>
<th>Type</th>
<th>Name</th>
<th>Description</th>
<th>Decision status</th>
<tr>
</thead>
<tbody>
{% for f in site.data.fields %}
{% assign field = f[1] %}
<tr>
<td><a href="{{ '/records/' | append: field.record | relative_url }}#{{ field.id }}">
{{ field.id }} {% if field.primary_key %} <b>[PK]</b>{% endif %}
</a>
</td>
<td>{{ field.record }}</td>
<td>{{ field.type.id }}
{% if field.dimensions %}
(<a href="{{ '/dimensions/' | append: field.dimensions.id | relative_url }}" title="{{ field.dimensions.id }}">{{ field.dimensions.id | truncate: 20 }}</a>)
{% endif %}
</td>
<td>{{ field.name }}</td>
<td>{{ field.description }}</td>
<td class="decision_{{ field.status | downcase | replace: " ", "" }}">{{ field.status }}</td>
</tr>
{% endfor %}
</tbody>
</table>