micado-eu / pa_application

application for the PA
European Union Public License 1.2
1 stars 4 forks source link

Readonly glossary editor #101

Closed gi-dorio closed 3 years ago

gi-dorio commented 3 years ago

We need the possibility to make the editor readonly, so that if the content is in translation or it's different from the base language the user can't modify it. If the option is already there I would like to know how to implement it

ivchicano commented 3 years ago

This might be a duplicate of #44 and #45

gi-dorio commented 3 years ago

Does it work for you with the language tabs? I set it to readonly if the translation state is different from zero or the language is different from the active language, but if i click in the field when the page first loads it still lets me edit. But if i change language tab and then go back the readonly kicks in. Also, it seems to work correctly when i switch to the other languages

ivchicano commented 3 years ago

This was a bug fixed in https://github.com/micado-eu/pa_application/commit/2deb8a4ebc24b1d778c0699f208d9b603d2b41ed Please double check if it works now and close the issue if it does

gi-dorio commented 3 years ago

It works correctly now