Problem/Motivation

In this issue #2684097: Refactor legends was added the "tmgmt-legend.html.twig" file with 4 space indentation instead of 2 space indentation specified by Drupal.
Also in this issue #2673866: Introducing twig templates for progress bar was added the "tmgmt-local-progress-bar.html.twig" and the "tmgmt-progress-bar.html.twig" files with wrong indentation.

Proposed resolution

Indent it using 2 spaces.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

edurenye created an issue. See original summary.

edurenye’s picture

Issue summary: View changes

Twig coding standards
It doesn't really says 2 spaces, but it's used everywhere in core like this so we fallback to the general coding standards of Drupal that says 2 spaces.
Coding standards

johnchque’s picture

Status: Active » Needs review
StatusFileSize
new2.38 KB

Should be a quick fix. :)

johnchque’s picture

So sorry, I forgot about local translator. Now it should be OK. :)

  • Berdir committed 4f7d089 on 8.x-1.x authored by yongt9412
    Issue #2696673 by yongt9412: Fixed Wrong indentation in some twig files
    
berdir’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

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