-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added pages, view, and url for toponyms
- Loading branch information
Showing
4 changed files
with
55 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends "base.html" %} | ||
{% load static %} | ||
|
||
{% block title %}Toponym - La Sfera{% endblock title %} | ||
|
||
{% block content %} | ||
|
||
<div class="flex justify-center mx-auto container"> | ||
<section id="toponym" class="flex flex-col md:flex-row w-full p-4 my-10"> | ||
<div class="w-full md:w-2/5 p-2"> | ||
<h3 class="text-2xl pb-8" id="text"> | ||
Manuscripts with the toponym {{ toponym.location.country}} | ||
</h3> | ||
|
||
{% for manuscript in manuscripts %} | ||
<p class="pb-1"> | ||
<a href="/manuscripts/{{ manuscript.siglum }}" class="underline hover:no-underline">{{ manuscript.siglum }}</a> | ||
</p> | ||
{% empty %} | ||
<p>No manuscripts with this toponym.</p> | ||
{% endfor %} | ||
|
||
</section> | ||
</div> | ||
{% endblock content %} | ||
|
||
{% block scripts %} | ||
{% endblock scripts %} |