Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Exlibris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Exlibris
Merge requests
!3
Add function to quick open a copy. Closes
#8
.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add function to quick open a copy. Closes
#8
.
issue8
into
master
Overview
18
Commits
1
Pipelines
0
Changes
6
Merged
Tom Teichler
requested to merge
issue8
into
master
5 years ago
Overview
17
Commits
1
Pipelines
0
Changes
6
Expand
0
0
Merge request reports
Compare
master
version 4
604b9a49
5 years ago
version 3
c3ddac25
5 years ago
version 2
1e1009d0
5 years ago
version 1
e4c668e7
5 years ago
master (base)
and
latest version
latest version
d1342fe0
1 commit,
5 years ago
version 4
604b9a49
1 commit,
5 years ago
version 3
c3ddac25
1 commit,
5 years ago
version 2
1e1009d0
1 commit,
5 years ago
version 1
e4c668e7
1 commit,
5 years ago
6 files
+
111
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
biscuit/apps/exlibris/templates/exlibris/copy_full.html
0 → 100644
+
63
−
0
Options
{% extends "core/base.html" %}
{% load bootstrap4 font_awesome i18n staticfiles %}
{% load render_table from django_tables2 %}
{% block bootstrap4_extra_head %}
{{ block.super }}
<link
rel=
"stylesheet"
href=
"{% static 'css/exlibris/books.css' %}"
/>
{% endblock %}
{% block content %}
<div
class=
"d-flex justify-content-between"
>
<div>
<h1>
{{ book_copy.book.title }}
</h1>
</div>
<div
class=
"btn-group"
role=
"group"
aria-label=
"Book actions"
>
<a
href=
"{% url 'edit_book_copy_by_id' id_=book_copy.id %}"
class=
"btn btn-secondary"
>
{% fa 'pencil' %}
</a>
</div>
</div>
<table
class=
"table table-responsive-xl table-border table-striped"
>
<tr>
<td
rowspan=
"4"
>
{% if book_copy.book.cover %}
<img
class=
"book-img"
src=
"{{ book_copy.book.cover.url }}"
alt=
"{{ book_copy.book.title }}"
/>
{% else %}
<img
class=
"book-img"
src=
"{% static 'exlibris/img/fallback.png' %}"
alt=
"{{ book_copy.book.title }}"
/>
{% endif %}
</td>
<td>
{% fa 'book' %}
</td>
<td
colspan=
"3"
>
{{ book_copy.book.title }}
</td>
</tr>
<tr>
<td>
{% fa 'pencil' %}
</td>
<td
colspan=
"3"
>
{{ book_copy.book.author }}
</td>
</tr>
<tr>
<td>
{% fa 'building' %}
</td>
<td
colspan=
"3"
>
{{ book_copy.book.publisher }}
</td>
</tr>
<tr>
<td>
{% fa 'hashtag' %}
</td>
<td>
{{ book_copy.book.edition }}
</td>
<td>
{% fa 'calendar-edit' %}
</td>
<td>
{{ book_copy.book.year }}
</td>
</tr>
</table>
<h3>
{% blocktrans %}Information about the borrower{% endblocktrans %}
</h3>
<table
class=
"table table-responsive-xl table-border table-striped"
>
<tr>
<td>
{% fa 'user' %}
</td>
<td
colspan=
"3"
>
{{ book_copy.borrower.Person.first_name }} {{ book_copy.borrower.Person.last_name }}
</td>
</tr>
<tr>
<td>
{% fa 'medal' %}
</td>
<td
colspan=
"3"
>
{{ book_copy.get_condition_display }}
</td>
</tr>
</table>
{% endblock %}
Loading