소스 검색

Fix UI on the Brotli rule

Gaël Métais 4 년 전
부모
커밋
9c0743d668
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      front/src/views/rule.html

+ 2 - 2
front/src/views/rule.html

@@ -337,12 +337,12 @@
     </div>
 
     <div ng-if="policyName === 'compression'">
-        <h3 ng-if="rule.value > 0">{{rule.value | bytes}} could be saved on <ng-pluralize count="rule.offendersObj.list.images.length" when="{'one': '1 file', 'other': '{} files'}"></ng-pluralize></h3>
+        <h3 ng-if="rule.value > 0">{{rule.value | bytes}} could be saved on <ng-pluralize count="rule.offendersObj.list.files.length" when="{'one': '1 file', 'other': '{} files'}"></ng-pluralize></h3>
         <div class="table">
             <div class="headers">
                 <div>File</div>
                 <div>Current weight</div>
-                <div>Gzip</div>
+                <div>Gzip weight</div>
                 <div>Brotli</div>
                 <div>Gain</div>
             </div>