majlis-erc / srophe

Srophé Application. A TEI publishing application.
GNU General Public License v3.0
0 stars 0 forks source link

Person: Add collapsible for associated work entries #164

Open mMoliere opened 1 month ago

mMoliere commented 1 month ago

@wsalesky Please add another collapsible in the Persons entries for Work entries that are associated through the author identifiers they contain.

This is what we think the collapsible should look like:

JALit Yešuʿa ben Yehuda FINAL

Each work entry has its own row. They give the original title and then the English title in brackets.

For instance the work entry 12.xml contains the following information:

<title xml:lang="en" type="majlis-headword" xml:id="title-1">Introduction to the Commentary on the Book of Deuteronomy</title>
<title xml:lang="he" type="majlis-headword" xml:id="title-2">הקדמה לספר פרוש דברים</title>
<author ref="https://jalit.org/person/4">Yefet ben ʿElī</author>

<author ref="https://jalit.org/person/4"> associates the work entry with the person entry Yefet ben ʿElī

הקדמה לספר פרוש דברים gives us the title in the original language Introduction to the Commentary on the Book of Deuteronomy gives us the English title. `@type="majlis-headword"` indicates the canonical title.
wsalesky commented 1 month ago

@mMoliere To clarify, you want to dynamically pull in the related works based on the author ref?

mMoliere commented 1 month ago

@wsalesky Yes, exactly