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

move year-navi to subwidget #1041

Open GVogeler opened 3 years ago

GVogeler commented 3 years ago

currently https://github.com/icaruseu/mom-ca/blob/0218b543b51306285fbaf67c0b450e04a512e4e6/my/XRX/src/mom/app/charters/widget/year-navi.widget.xml is used only in https://github.com/icaruseu/mom-ca/blob/0218b543b51306285fbaf67c0b450e04a512e4e6/my/XRX/src/mom/app/illurkimages/widget/illurk-images.widget.xml but identical code is in use in several other widgets (https://github.com/icaruseu/mom-ca/blob/0218b543b51306285fbaf67c0b450e04a512e4e6/my/XRX/src/mom/app/charters/widget/charters.widget.xml, https://github.com/icaruseu/mom-ca/blob/0218b543b51306285fbaf67c0b450e04a512e4e6/my/XRX/src/mom/app/collection/widget/my-collection.widget.xml, https://github.com/icaruseu/mom-ca/blob/0218b543b51306285fbaf67c0b450e04a512e4e6/my/XRX/src/mom/app/collection/widget/collection.widget.xml). We could refactor this to use a common widget in all cases.