Skip to content

Commit 9d733c9

Browse files
sakshamarora1zzacharo
authored andcommitted
semantic-ui: users: header: Use endpoints from config
1 parent a4a7240 commit 9d733c9

File tree

1 file changed

+2
-2
lines changed
  • invenio_app_rdm/users_ui/templates/semantic-ui/invenio_app_rdm/users

1 file changed

+2
-2
lines changed

invenio_app_rdm/users_ui/templates/semantic-ui/invenio_app_rdm/users/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ <h1 class="ui medium header" aria-label="{{ _('Your dashboard') }}">{{ current_u
2323
</div>
2424
</div>
2525
{% if active_dashboard_menu_item == "uploads" %}
26-
<a class="ui tiny button positive left labeled icon m-0" href="/uploads/new">
26+
<a class="ui tiny button positive left labeled icon m-0" href={{ url_for("deposit_create") }}>
2727
<i class="upload icon" aria-hidden="true"></i>
2828
{{ _('New upload') }}
2929
</a>
3030
{% endif %}
3131

3232
{% if active_dashboard_menu_item == "communities" %}
33-
<a class="ui tiny button positive left labeled icon m-0" href="/communities/new">
33+
<a class="ui tiny button positive left labeled icon m-0" href={{ url_for("communities_new") }}>
3434
<i class="plus icon" aria-hidden="true"></i>
3535
{{ _('New community') }}
3636
</a>

0 commit comments

Comments
 (0)