-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into stojanovic/ep-139-new-record-creation-commun…
…ities
- Loading branch information
Showing
8 changed files
with
93 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...s/ui/communities_components/templates/oarepo/invenio_communities/details/about/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{# -*- coding: utf-8 -*- | ||
|
||
This file is part of Invenio. | ||
Copyright (C) 2023 CERN. | ||
|
||
Invenio is free software; you can redistribute it and/or modify it | ||
under the terms of the MIT License; see LICENSE file for more details. | ||
#} | ||
|
||
{% extends "invenio_communities/details/base.html" %} | ||
{% from "invenio_communities/details/macros/custom_fields.html" import list_vocabulary_values, list_string_values, show_custom_field %} | ||
{% set active_community_header_menu_item= 'about' %} | ||
|
||
{%- block page_body %} | ||
{{ super() }} | ||
<div class="ui text container rel-m-2 rel-pt-1"> | ||
{{ community.metadata.page | safe }} | ||
{% if community.ui.funding|length %} | ||
<h3 class="ui header">{{ _("Awards") }}</h3> | ||
<dl class="ui list"> | ||
|
||
{% for funding in community.ui.funding %} | ||
<div class="item rel-mb-1"> | ||
{% if funding.award %} | ||
<dd class="header"> | ||
{{ funding.award.title_l10n }} | ||
<span class="ui basic small label"> | ||
{{funding.award.number}} | ||
</span> | ||
|
||
{% if funding.award.identifiers|length and funding.award.identifiers[0].scheme == "url" %} | ||
<a | ||
class="ui transparent icon button" | ||
href="{{ funding.award.identifiers[0].identifier }}" | ||
aria-label="{{ _('Visit external website') }}" | ||
title="{{ _('Opens in new tab') }}" | ||
> | ||
<i class="external primary icon" aria-hidden="true"></i> | ||
</a> | ||
{% endif %} | ||
</dd> | ||
{% endif %} | ||
|
||
{% if funding.funder %} | ||
<dt class="text-muted"> | ||
{{ funding.funder.name }} | ||
</dt> | ||
{% endif %} | ||
</div> | ||
{% endfor %} | ||
|
||
</dl> | ||
{% endif %} | ||
{%- endblock page_body -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = oarepo-communities | ||
version = 5.1.2 | ||
version = 5.1.3 | ||
description = | ||
authors = Ronald Krist <[email protected]> | ||
readme = README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters