зеркало из https://github.com/mozilla/pontoon.git
4b23a5dfc9
1. Add a banner for users defined as "Project Manager" within a project. To reduce confusion, the MNGR tooltip has been changed from from "Manager" to "Team Manager". 2. Consolidate roles between backend and frontend: * If a user as a role within the locale (translator, manager), we use that for the banner * If a user is set as PM, we use that even if the user is an Admin * The isAdmin flag is true if the user is a superuser, not PM * Introduce isPM flag and use it where isAdmin was used before * Rename: managerForLocales -> canManageLocale, translatorForLocales -> canTranslateLocales * Introduce managerForLocales and translatorForLocales and use them in UserStatus instead of canManageLocales and canTranslateLocales 3. Other changes: * Add CSS variables for users, instead of reusing the ones for translation status * Ignore system users for banners * Use status identifier as a class name * The term role is already taken, let's settle for status consistently --------- Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com> |
||
---|---|---|
.. | ||
0100 | ||
0101 | ||
0108 | ||
0110 | ||
0111 | ||
0112 | ||
0114 | ||
0115 | ||
0116 | ||
0117 | ||
0119 | ||
0120 | ||
0121 | ||
0000-template.md | ||
0100-private-projects.md | ||
0101-terminology-presentation.md | ||
0102-terminology-translation.md | ||
0106-concordance-search.md | ||
0107-pretranslated-status.md | ||
0108-community-health-dashboard.md | ||
0109-infobar-component.md | ||
0110-notifications-opt-out.md | ||
0111-redesign-profile-page.md | ||
0112-new-contributor-guidelines.md | ||
0113-pretranslation-opt-in.md | ||
0114-light-theme.md | ||
0115-pretranslation-monitoring.md | ||
0116-LLM-assisted-translations.md | ||
0117-email-opt-in-unsubscribe.md | ||
0118-messaging-center.md | ||
0119-gamification-badges.md | ||
0120-transactional-emails.md | ||
0121-translation-memory-management.md |