upenndigitalscholarship / deep

MIT License
3 stars 1 forks source link

Item, Edition, Work instead of Item, Edition, Title #106

Closed ZacharyLesser closed 8 months ago

ZacharyLesser commented 1 year ago

Just changing the admin descriptor for this level from Titles to Works. No changes to any of the data field names.

ZacharyLesser commented 1 year ago

Please also change "Title" to "Work" in the radio button that changes the "views" of results on the site itself (next to "Edition" and "Record")

apjanco commented 1 year ago

The Title object in models.py could be renamed to Work. You'll just need to walk down the build pipeline to see what new errors are thrown. I recommend just changing what's visible to users. You could change the display in models.py with Meta. There's a checkbox in index.html that could be renamed. I'd be careful about making changes in deep.js. Good luck! Feel free to write if you run into trouble with this one: apjanco@upenn.edu

ZacharyLesser commented 1 year ago

If it's liable to cause errors elsewhere, we could just rename the radio button in the UI without renaming anything in admin