Skip to content

Commit

Permalink
document: suppress item detail view
Browse files Browse the repository at this point in the history
* Deletes the item detail view in the public interface.
* Closes #884

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed May 5, 2020
1 parent 58e7dff commit 2cf07d5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 74 deletions.
1 change: 0 additions & 1 deletion rero_ils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,6 @@ def _(x):
'item': dict(
pid_type='item',
route='/<string:viewcode>/items/<pid_value>',
template='rero_ils/detailed_view_items.html',
view_imp='rero_ils.modules.items.views.item_view_method',
record_class='rero_ils.modules.items.api:Item',
permission_factory_imp='rero_ils.permissions.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,7 @@ <h3 class="mt-2">{{ _('Access') }}</h3>
<div class="col-10">
<div class="row">
<div class="col-sm-4">
{% if current_user|can_edit %}
<a
href="{{ url_for('invenio_records_ui.item', viewcode=viewcode, pid_value=item.pid) }}">{{ item.barcode }}</a>
{% else %}
{{ item.barcode }}
{% endif %}
</div>
<div class="col-sm-3">
<i class="fa fa-circle text-{{ 'success' if item.available else 'danger' }}"></i>
Expand Down
68 changes: 0 additions & 68 deletions rero_ils/modules/items/templates/rero_ils/detailed_view_items.html

This file was deleted.

0 comments on commit 2cf07d5

Please sign in to comment.