Skip to content

Commit

Permalink
Removed dependency on OAI-PMH, the menu should be inside the OAIPMH p…
Browse files Browse the repository at this point in the history
…anel
  • Loading branch information
mesemus authored and kpsherva committed May 15, 2024
1 parent 50d024e commit 2e91d16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@
</form>
{%- else %}

<div role="menuitem" aria-labelledby="create-menu" class="ui dropdown floating rel-p-1 pr-15 computer only">
<i class="fitted plus icon inverted" aria-hidden="true"></i>
<i class="fitted dropdown icon inverted" aria-hidden="true"></i>
<div id="create-menu" class="menu">
<a class="item"
href="{{ url_for('administration.oaipmh_create') }}">{{ _('New OAI-PMH set') }}
</a>
</div>
</div>

<div class="sub-menu mobile tablet only">
<h2 class="ui small header">{{ _('Actions') }}</h2>
<a role="menuitem" class="item" href="{{ url_for('administration.oaipmh_create') }}">
<i class="plus icon" aria-hidden="true"></i>
{{ _('New OAI-PMH set') }}
</a>
</div>

{%- if config.USERPROFILES %}
<div role="menuitem" id="user-profile-dropdown" class="ui floating dropdown computer only">
<button id="user-profile-dropdown-btn"
Expand Down
5 changes: 0 additions & 5 deletions invenio_administration/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ msgstr ""
msgid "Sign up"
msgstr ""

#: invenio_administration/templates/semantic-ui/invenio_administration/header/header_login.html:32
#: invenio_administration/templates/semantic-ui/invenio_administration/header/header_login.html:41
msgid "New OAI-PMH set"
msgstr ""

#: invenio_administration/templates/semantic-ui/invenio_administration/header/header_login.html:38
msgid "Actions"
msgstr ""
Expand Down

0 comments on commit 2e91d16

Please sign in to comment.