Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semantic-ui: users: header: Use endpoints from config #2911

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

sakshamarora1
Copy link
Contributor

@zzacharo zzacharo merged commit 9d733c9 into inveniosoftware:master Nov 19, 2024
4 checks passed
@@ -23,14 +23,14 @@ <h1 class="ui medium header" aria-label="{{ _('Your dashboard') }}">{{ current_u
</div>
</div>
{% if active_dashboard_menu_item == "uploads" %}
<a class="ui tiny button positive left labeled icon m-0" href="/uploads/new">
<a class="ui tiny button positive left labeled icon m-0" href={{ url_for("deposit_create") }}>
Copy link
Member

Choose a reason for hiding this comment

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

@sakshamarora1 this should be actually invenio_app_rdm_records.deposit_create (since the blueprint has this prefix). This is also relevant to my comment about being explicit about the endpoint naming.

Copy link
Contributor

Choose a reason for hiding this comment

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

is this working in flask/werkzeug <3.0.0 because with flask,werkzeug >3.0 it fails without the invenio_app_rdm_records prefix

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.

Exclude 'new' from available community ids / slugs
4 participants