-
-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MBS-11178: Make attribute lists visible to all users #2480
base: master
Are you sure you want to change the base?
Commits on Sep 18, 2024
-
The attributes are rendered in Attribute, these are only a few extra headers/columns for some types.
Configuration menu - View commit details
-
Copy full SHA for 13b9765 - Browse repository at this point
Copy the full SHA 13b9765View commit details -
MBS-11178: Make attribute lists visible to all users
This removes the info that is mostly useless for people without editing rights (such as edit links) but displays everything else. Row ids are not removed since documenting these on the site is apparently helpful for people putting together SQL queries (this has been requested). Since this is visible to users, translations are brought back.
Configuration menu - View commit details
-
Copy full SHA for e9c211f - Browse repository at this point
Copy the full SHA e9c211fView commit details -
Move generic attributes form to the same folder as others
This seems a lot more consistent than having them in two places.
Configuration menu - View commit details
-
Copy full SHA for f1cf9dd - Browse repository at this point
Copy the full SHA f1cf9ddView commit details -
Move attributes code out of admin folders
Since this is no longer admin-only, there's no reason all of this should live inside /admin folders. Use l_admin for admin-facing strings only.
Configuration menu - View commit details
-
Copy full SHA for 2b7e000 - Browse repository at this point
Copy the full SHA 2b7e000View commit details -
This reduces code reuse to some degree. We could make further changes to also generalize part of the tables for each model, but I'm not sure it's worth the effort. Additionally, this shows a proper translatable title for each attribute type, since we'll display them to users now. Only Language and Script were translated before.
Configuration menu - View commit details
-
Copy full SHA for ad0c088 - Browse repository at this point
Copy the full SHA ad0c088View commit details -
Make list of attribute types more usable
This splits the list in two, one for entity types and one for everything else. It also sorts them by the (translated) names of the attribute types, rather than by the static model name.
Configuration menu - View commit details
-
Copy full SHA for 610a7d8 - Browse repository at this point
Copy the full SHA 610a7d8View commit details -
Rename attributes/Index to AttributesList
This is not the index for an attribute, it's the list of all attributes. Consistent with RelationshipTypesList for reltypes.
Configuration menu - View commit details
-
Copy full SHA for 28105a6 - Browse repository at this point
Copy the full SHA 28105a6View commit details