From 5d20b0ba8e16402b2f1bc80eddaad5fd58c16500 Mon Sep 17 00:00:00 2001 From: Jeremy McCormick Date: Fri, 4 Oct 2024 17:20:08 -0500 Subject: [PATCH] WIP: Add column for index field --- browser/_layouts/schema.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/browser/_layouts/schema.html b/browser/_layouts/schema.html index c7eacf55..7a8e69a9 100644 --- a/browser/_layouts/schema.html +++ b/browser/_layouts/schema.html @@ -50,10 +50,10 @@

{{ page.title }}

{{ table.name }}

{{ table.description }}

- - + + @@ -64,15 +64,16 @@

{{ table.name }}

{% assign sorted_columns = sorted_by_name | sort: 'tap:column_index' %} {% for col in sorted_columns %} + {%- endfor %}
Column Name [index]IndexColumn Name Data Type Unit Description [UCD]
+ {%- if col['tap:column_index'] %}{{col['tap:column_index']}}{% endif -%} + {{ col.name }} - {%- if col['tap:column_index'] %} [{{col['tap:column_index']}}]{% endif -%} {{ col.datatype }} {{ col['ivoa:unit'] | default: col['fits:tunit'] }} {{- col.description | escape }} - {%- if col['ivoa:ucd'] %} [{{col['ivoa:ucd']}}]{% endif -%}