Some checks failed
Deploy on webserver / Build site and deploy on success (push) Failing after 0s
We present "part of" for Objective, Project, and Topic pages. This commit makes the way it is shown more consistent: - only show "Part of" if there are elements to show - show this after the description - in link targets, expect "xyzrins:" in PID, not "xyzrsens:"; the latter is from the older demo-rse-group schema, we are using demo-research-information Two minor inconsistencies remain. In project pages, "Part of" is a header, staying similar to other sections of the page. In topic pages, the link text uses display label, while others use title.
13 lines
228 B
Django/Jinja
13 lines
228 B
Django/Jinja
---
|
|
title: "{{ title }}"
|
|
params:
|
|
graphRootNodePID: {{ pid }}
|
|
---
|
|
|
|
{{ description }}
|
|
|
|
{% if part_of -%}Part of:
|
|
{% for item in part_of -%}
|
|
- [{{ item.title }}](/{{ item.pid.replace('xyzrins:', '') }})
|
|
{% endfor %}
|
|
{% endif -%}
|