Skip to content

Add citations to app manager entry template#227

Merged
edan-bainglass merged 1 commit into
mainfrom
app-store-entry-citations
May 29, 2026
Merged

Add citations to app manager entry template#227
edan-bainglass merged 1 commit into
mainfrom
app-store-entry-citations

Conversation

@edan-bainglass

@edan-bainglass edan-bainglass commented May 28, 2026

Copy link
Copy Markdown
Member

Requires aiidalab/aiidalab#510 to be merged.

@edan-bainglass edan-bainglass force-pushed the app-store-entry-citations branch from c8cf82d to 86de306 Compare May 28, 2026 03:45
@edan-bainglass edan-bainglass force-pushed the app-store-entry-citations branch from 86de306 to 5925dc3 Compare May 28, 2026 03:47
Comment thread home/app_manager.py
Comment on lines +140 to +164
<ul>
{% for citation in app.citations %}
{% if citation.text %}
{% if citation.link %}
<a href="{{ citation.link }}" target="_blank" noreferrer noopener>{{ citation.text }}</a>
{% else %}
{{ citation.text }}
{% endif %}
{% else %}
{{ citation.authors | join(", ") }},
{% if citation.title %}
"{{ citation.title }}".
{% endif %}
<em>{{ citation.journal }}</em>
{% if citation.volume %}
, <b>{{ citation.volume }}</b>
{% endif %}
{% if citation.issue %}
, {{ citation.issue }}
{% endif %}
({{ citation.year }}).
<a href="https://doi.org/{{ citation.doi }}" target="_blank" noreferrer noopener>https://doi.org/{{ citation.doi }}</a>
{% endif %}
{% endfor %}
</ul>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same template used in the AiiDAlab app registry.

@edan-bainglass edan-bainglass merged commit bbe4979 into main May 29, 2026
4 checks passed
@edan-bainglass edan-bainglass deleted the app-store-entry-citations branch May 29, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants