Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Samk13 authored and utnapischtim committed Oct 23, 2024
1 parent 3a1b7f2 commit f159176
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion invenio_app_rdm/administration/records/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Copyright (C) 2023-2024 CERN.
# Copyright (C) 2023 Graz University of Technology.
# Copyright (C) 2024 KTH Royal Institute of Technology.
#
# invenio-administration is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
Expand All @@ -21,7 +22,7 @@ class RecordAdminListView(AdminResourceListView):
"""Configuration for OAI-PMH sets list view."""

api_endpoint = "/records"
name = "Records"
name = "records"
resource_config = "records_resource"
search_request_headers = {"Accept": "application/vnd.inveniordm.v1+json"}
title = "Records"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// This file is part of InvenioRDM
// Copyright (C) 2023-2024 CERN.
// Copyright (C) 2024 KTH Royal Institute of Technology.
//
// InvenioRDM is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -22,8 +23,7 @@ import {

export class RecordCommunitiesList extends Component {
render() {
const { communities, loading, error, maxDisplayedCommunities, branded } =
this.props;
const { communities, loading, error, maxDisplayedCommunities } = this.props;
let Element = null;

if (loading) {
Expand Down Expand Up @@ -116,12 +116,10 @@ RecordCommunitiesList.propTypes = {
communities: PropTypes.array,
loading: PropTypes.bool,
error: PropTypes.string,
branded: PropTypes.string,
};

RecordCommunitiesList.defaultProps = {
communities: undefined,
loading: false,
error: "",
branded: undefined,
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{#
# This file is part of Invenio.
# Copyright (C) 2022-2024 CERN.
# Copyright (C) 2024 KTH Royal Institute of Technology.
#
# Invenio is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
Expand All @@ -21,12 +22,12 @@
{% set title = page.title %}
{% block page_body %}
<div class="ui container rel-mt-2">
<div class="row">
<div class="col-xs-12 rich-input-content">
<h1>{{ page.title|safe }}</h1>
{% block content %}{{ page.content|safe }}{% endblock %}
</div>
</div>
<div class="row">
<div class="col-xs-12 rich-input-content">
<h1>{{ page.title|safe }}</h1>
{% block content %}{{ page.content|safe }}{% endblock %}
</div>
</div>
</div>
{% endblock %}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This file is part of Invenio.
Copyright (C) 2023 Graz University of Technology.
Copyright (C) 2024 KTH Royal Institute of Technology.

Invenio App RDM is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -15,4 +16,3 @@
{% endwith %}

{% endblock %}
toggle

0 comments on commit f159176

Please sign in to comment.