Closed Bug 1478464 Opened 6 years ago Closed 6 years ago

Add ability to manage read-only locales in project admin

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

(Whiteboard: l10n-docs-added)

Attachments

(2 files)

To turn the locale into read-only mode, one needs to go to the project page in the Django admin (/a) and check the "Readonly" box for the selected locale. That's a bit odd, because project administration is typically done in project admin (/admin).

See the attachment for a possible UI.
Whiteboard: l10n-docs-needed
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/1210bcebe3df175e7e49a9026629a0d8c014b71f
Fix bug 1478464: Read-only locale admin (#1035)

This patch adds the ability to manage read-only locales in Pontoon
Admin. Since the locale selector is now wider, the entire Project Admin
now also uses a full-width layout2.

Parts of the code have been refactored to use as much template, CSS and
JS code as possible. The new locale selector widget shares many
similarities with the locale selector from the Settings and the
Notifications sending page, and the contributor selector from the
Permissions page.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: l10n-docs-needed → l10n-docs-added
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: