Allow adding a new Event from a Person page via popup
Add a new from_document=true URL param to the related widget wrapper "add new Event" button
Change EventDocumentInline.get_min_num behavior such that min_num of associated Documents required for a new Event is zero only when the from_document param is present, and not just when the _popup param is present (as that can now happen via popups launched from Person pages too)
In this PR
Per https://github.com/Princeton-CDH/geniza/issues/1512#issuecomment-2043959712:
from_document=true
URL param to the related widget wrapper "add new Event" buttonEventDocumentInline.get_min_num
behavior such thatmin_num
of associated Documents required for a new Event is zero only when thefrom_document
param is present, and not just when the_popup
param is present (as that can now happen via popups launched from Person pages too)