Project overview page does not look the same on D7/3.X branch.

See attached files for how it looks and how it should look. Not sure, if something has been agreed, or it is an oversight?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

TeeBeeCoder created an issue. See original summary.

gábor hojtsy’s picture

The difference is bigger than styling: the 3.0.x project page renders nothing at all at the moment. The project template prints an empty <article> and nothing builds the Drupal 7 overview table (l10n_community_language_progress_for_project()), so only the title shows.

Fix: a L10nProjectOverview builder in l10n_community, attached to the project entity view through hook_ENTITY_TYPE_view(), producing the Drupal 7 table: one row per language (English excluded, like D7) linked to translating the project, the progress bar, the untranslated count, and the suggestion count when statistics do not come from the packager. Rows for languages without a plural formula show the D7 notice. The project template now prints its content.

Tests: the Drupal 7 test testLanguagesProjects() now asserts the language link and the progress columns on the project page; the port L10nLanguagesProjectsTest asserts the same and fails on the empty page before the change.

LLM was used to find, diagnose explain and fix this issue. With human review.

  • 97a53c91 committed on 3.0.x
    fix #3354485: Project overview page does not look the same on D7/3.X...

  • 08889808 committed on 7.x-1.x
    fix #3354485: Project overview page does not look the same on D7/3.X...
gábor hojtsy’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • 78229666 committed on 7.x-1.x
    fix #3354485: Project overview page does not look the same on D7/3.X...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.