Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2939226: Add support for a translator state field on job items added the ability to have translator state and coresponding icons, but we're not yet using it consistently.
This adds a new method that returns the icon and updates existing code to use it. Also starting to use the icon on content/config translate forms, expecting some fails there.
Comment | File | Size | Author |
---|---|---|---|
#8 | tmgmt-job-state-icon-2942145-8-interdiff.txt | 2.92 KB | Berdir |
#8 | tmgmt-job-state-icon-2942145-8.patch | 23.14 KB | Berdir |
| |||
#6 | tmgmt-job-state-icon-2942145-6-interdiff.txt | 1.75 KB | Berdir |
#6 | tmgmt-job-state-icon-2942145-6.patch | 20.38 KB | Berdir |
| |||
#4 | tmgmt-job-state-icon-2942145-4-interdiff.txt | 13.62 KB | Berdir |
Comments
Comment #2
BerdirComment #4
BerdirQuite a lot of test updates necessary. Restored the custom prefix on the overview, but kept it as a title on the image and not the link tag.
Also using the most relevant (highest weight) job item icon on the job overview. This makes it a bit slower as before we only looked until we found the first needs-review job item, now we always check them all as we have more than two states to consider. But we already loaded all job items before, so the overhead is limited.
Comment #6
BerdirFixed those new test fails.
Comment #7
BerdirComment #8
BerdirAdded the icons also to the legend on source and job overview.
Comment #10
BerdirCommitted.