Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
danimuncal_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
Izaac Daniel B. Muncal
danimuncal_reading
Commits
6e18b527
Commit
6e18b527
authored
Mar 28, 2023
by
Izaac Daniel B. Muncal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commited author, author_detail and books detail as they were buggy before commiting
parent
b32808c9
Pipeline
#3074
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
10 deletions
+50
-10
author.html
danimuncal_reading/bookshelf/templates/bookshelf/author.html
+16
-4
author_detail.html
..._reading/bookshelf/templates/bookshelf/author_detail.html
+20
-3
books_detail.html
...l_reading/bookshelf/templates/bookshelf/books_detail.html
+14
-3
No files found.
danimuncal_reading/bookshelf/templates/bookshelf/author.html
View file @
6e18b527
{% extends 'base.html' %}
{% load static %}
{% block title %}{% endblock %}
{% block header %} header {% endblock %}
{% block body %} body {% endblock %}
{% block title %} My Favorite Authors{% endblock %}
{% block header %}Dani's Favorite Authors:{% endblock %}
{% block body %}
<ul>
{% for author in object_list %}
<li>
<a
href=
"/bookshelf/author/{{ author.pk }}/details/"
>
{{ author.first_name }} {{ author.last_name }}
</a><br>
</li>
{% endfor %}
</ul>
<br>
<a
href=
"/bookshelf"
>
Home
</a>
----------------------------------------------
<a
href=
"/bookshelf/books"
>
Books
</a>
{% endblock %}
danimuncal_reading/bookshelf/templates/bookshelf/author_detail.html
View file @
6e18b527
{% extends 'base.html' %}
{% load static %}
{% block title %}{% endblock %}
{% block header %} header {% endblock %}
{% block body %} body {% endblock %}
\ No newline at end of file
{% block title %} {{object.first_name}} {{object.last_name}}{% endblock %}
{% block header %} {{object.first_name}} {{object.last_name}} {% endblock %}
{% block body %}
<p>
{{object.age}}
</p>
<p>
{{object.nationality}}
</p>
<p>
{{object.bio}}
</p>
<p><b>
Books by {{object.first_name}} {{object.last_name}} I love:
</b></p>
<ul>
{% for book in object.books_set.all %}
<li>
<a
href=
"/bookshelf/books/{{ book.pk }}/details/"
>
{{ book.title }}
</a><br>
</li>
{% endfor %}
</ul>
<a
href=
"/bookshelf/"
>
Home
</a>
<a
href=
"/bookshelf/books/"
>
Books
</a>
<a
href=
"/bookshelf/author/"
>
Author
</a>
{% endblock %}
\ No newline at end of file
danimuncal_reading/bookshelf/templates/bookshelf/books_detail.html
View file @
6e18b527
{% extends 'base.html' %}
{% load static %}
{% block title %}{% endblock %}
{% block header %} header {% endblock %}
{% block body %} body {% endblock %}
\ No newline at end of file
{% block title %} {{object.title}} {% endblock %}
{% block header %} {{object.title}} {% endblock %}
{% block body %}
<a
href=
"/bookshelf/author/{{object.author.pk}}/details/"
>
{{object.author}}
</a><br>
<p>
{{object.publisher}}
</p>
<p>
{{object.year_published}}
</p>
<p>
{{object.ISBN}}
</p>
<p>
{{object.blurb}}
</p>
<a
href=
"/bookshelf/"
>
Home
</a>
<a
href=
"/bookshelf/books/"
>
Books
</a>
<a
href=
"/bookshelf/author/"
>
Author
</a>
{% 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