Skip to content

Commit e220f66

Browse files
committed
use code tag for field_type only on reference tab for recombinant tables
1 parent 1c6185c commit e220f66

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ckanext/recombinant/templates/recombinant/snippets/data_dictionary.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ <h3>{{ _("Data Dictionary") }}</h3>
106106
h.recombinant_language_text(field.label)
107107
or field.datastore_id
108108
}}</div>
109-
<div class="col-md-4"><code>{{ field_type }}</code></div>
109+
<div class="col-md-4">
110+
{% if has_extra %}{{ field_type }}
111+
{% else %}<code>{{ field_type }}</code>
112+
{% endif %}
113+
</div>
110114
<div class="col-md-1">{% if has_extra %}»{% endif %}</div>
111115
</div>
112116
</div>

0 commit comments

Comments
 (0)