sciapp / sampledb

Sample and Measurement Metadata Database
https://scientific-it-systems.iffgit.fz-juelich.de/SampleDB/
MIT License
21 stars 11 forks source link

Hide object_id #25

Closed rnoffke closed 3 years ago

rnoffke commented 3 years ago

Hiding the object_id

In special cases the name of an object includes a kind of id. This id regularly isn't the same as the object_id of the given object. To avoid irritations, showing the object_id has been made configurable. object objects preferences

FlorianRhiem commented 3 years ago

Hey @rnoffke,

thanks for the pull request. The object ID will still be shown in a few spots, e.g. for object reference properties, both when selecting and when viewing the object (and in the soon-to-be-merged inline edit template), in the page title and in the instrument log. Is this intentional?

rnoffke commented 3 years ago

Hey @FlorianRhiem,

you're right. Showing the object_id in some cases, e.g. object references , doesn't make sense.

I'll fix it in the existing templates and the inline_edit templates and commit a changed version after the inline_edit feature has been added.

maltedeckers commented 3 years ago

Thank you for your pull request, @rnoffke. I have merged it into develop.