You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
it would be nice to display metadata using the same groups defined while editing. A simple solution can be extending package_additional_info section in additional_info.html snippet to add an extra row to show the group title and description, if any:
{%- if field.start_form_page is defined -%}
</tbody></table><h3>Additional info - {{ field.start_form_page.title }}</h3>
{%- if field.start_form_page.description is defined -%}
<p>{{ field.start_form_page.description }}</p>
{%- endif -%}
<tableclass="table table-striped table-bordered table-condensed"><thead><tr><thscope="col">{{ _('Field') }}</th><thscope="col">{{ _('Value') }}</th></tr></thead><tbody>
{%- endif -%}
This would not work with the main section though, as owner belongs to the excluded field, so a more complex logic should be implemented for that.
What are your thoughts on that?
The text was updated successfully, but these errors were encountered:
Hi,
it would be nice to display metadata using the same groups defined while editing. A simple solution can be extending
package_additional_info
section inadditional_info.html
snippet to add an extra row to show the group title and description, if any:ckanext-scheming/ckanext/scheming/templates/scheming/package/snippets/additional_info.html
Lines 13 to 17 in 8646a9d
This is an example on how to do it:
This would not work with the main section though, as
owner
belongs to the excluded field, so a more complex logic should be implemented for that.What are your thoughts on that?
The text was updated successfully, but these errors were encountered: