Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chrisolivares_reading
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Louis Olivares
chrisolivares_reading
Commits
0297cda7
Commit
0297cda7
authored
Mar 28, 2023
by
Christian Louis Olivares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finished both details html
parent
5954aeb1
Pipeline
#3093
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+31
-0
book_details.html
...s_reading/bookshelf/templates/bookshelf/book_details.html
+19
-0
No files found.
chrisolivares_reading/bookshelf/templates/bookshelf/author_details.html
View file @
0297cda7
{% extends 'base.html' %}
{% block title %}{{object.first_name}} {{object.last_name}}{% endblock %}
{% block heading %}
{{object.first_name}} {{object.last_name}}
{% endblock %}
{%block text%}
<ul><ul><a
href=
"{{object.get_absolute_url}}"
>
{{object.author}}
</a></ul></ul>
<ul><ul>
{{object.age}}
</ul></ul>
<ul><ul>
{{object.nationality}}
</ul></ul>
<ul><ul>
{{object.bio}}
</ul></ul>
{%endblock%}
{%block hyperlinks%}
<h1>
Books by {{object.first_name}} {{object.last_name}} I love:
</h1>
{% for book in book_list %}
{%if book.author == object%}
<ul><li><a
href=
"{{book.get_absolute_url}}"
>
{{book.title}}
</a></li></ul>
{% endif %}
{% endfor %}
<br></br>
<ul><ul><a
href=
"/home"
>
Home
</a>
<a
href=
"/books"
>
Books
</a>
<a
href=
"/authors"
>
Authors
</a></ul></ul>
{%endblock%}
\ No newline at end of file
chrisolivares_reading/bookshelf/templates/bookshelf/book_details.html
View file @
0297cda7
{% extends 'base.html' %}
{% block title %}{{object.title}}{% endblock %}
{% block heading %}
{{object.title}}
{% endblock %}
{%block hyperlinks%}
<ul><a
href=
"{{object.author.get_absolute_url}}"
>
{{object.author}}
</a></ul>
<ul>
{{object.publisher}}
</ul>
<ul>
{{object.year_published}}
</ul>
<ul>
{{object.ISBN}}
</ul>
<ul>
{{object.blurb}}
</ul>
<br></br>
<ul><ul><a
href=
"/home"
>
Home
</a>
<a
href=
"/books"
>
Books
</a>
<a
href=
"/authors"
>
Authors
</a></ul></ul>
{%endblock%}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment