icaruseu / mom-ca

Monasterium.net (http://www.monasterium.net/mom) - repository and collaborative archive
https://github.com/icaruseu/mom-ca/wiki
GNU General Public License v3.0
17 stars 11 forks source link

"How-to-cite"-Section does not include full Monasterium.net-URL #1028

Open GVogeler opened 3 years ago

GVogeler commented 3 years ago

e.g. https://www.monasterium.net/mom/AT-NOeLA/HA_Stettl/HA_Stetteldorf_Urk_030/charter

grafik

and

https://www.monasterium.net/mom/CensimentoDOZA/201/charter

grafik

GVogeler commented 3 years ago

Check https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/charter.widget.xml#L1278 , https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/my-charter.widget.xml#L514 and https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/saved-charter.widget.xml#L332 (and consider how to refactor this to have only one definition of this)

GVogeler commented 3 years ago

my-charter.widget and saved-charter.widget inherit the properties of the charter-widget anyway, but inheritance seems to be restricted to top level structures (i.e. xrx:divs), see https://github.com/icaruseu/mom-ca/wiki/XRX-plus-plus--Inheritance. Moving the xrx:div into a xrx:subwidget seems to be a solution.