mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-24 05:31:57 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f11facc9d6 | ||
|
|
c9bc56e168 | ||
|
|
cb9b80668c | ||
|
|
5bf5ce4268 |
@@ -7,6 +7,10 @@
|
||||
|
||||
Changes
|
||||
=======
|
||||
Version 3.9.2 (released 2022-06-28)
|
||||
|
||||
- fix: adopt renaming of serialize function (#269)
|
||||
|
||||
Version 3.9.1 (released 2022-06-02)
|
||||
|
||||
- fix: add trigger to accordion (#265)
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
from .ext import InvenioThemeTugraz
|
||||
|
||||
__version__ = "3.9.1"
|
||||
__version__ = "3.9.3"
|
||||
|
||||
__all__ = ("__version__", "InvenioThemeTugraz")
|
||||
|
||||
@@ -79,4 +79,23 @@
|
||||
{%- include "invenio_theme/breadcrumbs.html" %}
|
||||
{%- endblock breadcrumbs %}
|
||||
#}
|
||||
|
||||
<div style="display: none;">
|
||||
{% include "invenio_app_rdm/searchbar.html" %}
|
||||
</div>
|
||||
|
||||
<div class="ui container">
|
||||
<div class="ui center aligned grid">
|
||||
<div class="sixteen wide column">
|
||||
<form action="{{config.THEME_SEARCH_ENDPOINT}}" class="ui form" role="search">
|
||||
<div class="ui fluid big action icon input">
|
||||
<input type="text" name="q" autofocus="autofocus" placeholder="{{ _("Type and press enter to search") }}">
|
||||
<button type="submit" class="ui icon search button">
|
||||
<i class="icon search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,25 +17,8 @@
|
||||
{%- block page_body %}
|
||||
|
||||
<div class="ui container">
|
||||
{%- block frontpage_search %}
|
||||
|
||||
{%- block frontpage_form %}
|
||||
<div class="ui center aligned grid">
|
||||
<div class="sixteen wide column">
|
||||
<form action="{{config.THEME_SEARCH_ENDPOINT}}" class="ui form" role="search">
|
||||
<div class="ui fluid big action icon input">
|
||||
<input type="text" name="q" autofocus="autofocus" placeholder="{{ _("Type and press enter to search") }}">
|
||||
<button type="submit" class="ui icon search button">
|
||||
<i class="icon search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui divider hidden"></div>
|
||||
{%- endblock frontpage_form %}
|
||||
|
||||
{%- endblock frontpage_search %}
|
||||
<div class="ui stackable grid">
|
||||
|
||||
<!---Recent uploads-->
|
||||
|
||||
@@ -53,9 +53,7 @@ def records_serializer(records=None):
|
||||
"""Serialize list of records."""
|
||||
record_list = []
|
||||
for record in records:
|
||||
record_list.append(
|
||||
UIJSONSerializer().serialize_object_to_dict(record.to_dict())
|
||||
)
|
||||
record_list.append(UIJSONSerializer().dump_obj(record.to_dict()))
|
||||
return record_list
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user