Browse Source

Another warning

Gaël Métais 10 years ago
parent
commit
2a2d99191d
1 changed files with 11 additions and 1 deletions
  1. 11 1
      app/node_views/results.html

+ 11 - 1
app/node_views/results.html

@@ -295,7 +295,7 @@
                                     <modal-dialog show="cssParsingErrorsTooltip" dialog-title="Parsing error while analyzing CSS">
                                         <p>Yellow Lab Tools failed to parse a CSS file. I doubt the problem comes from the css parser.</p>
                                         <p>
-                                            Direct links to the <b>W3C CSS Validator</b> for the following stylesheets:
+                                            Direct links to the <b>W3C CSS Validator</b> for the following stylesheet(s):
                                             <ul>
                                                 <li ng-repeat="stylesheet in cssW3cDirectUrls">
                                                     <a href="{{stylesheet.w3c}}" target="_blank">{{stylesheet.url}}</a>
@@ -361,6 +361,11 @@
                                     </modal-dialog>
                                 </div>
                             </div>
+                            <div ng-if="phantomasResults.metrics.cssParsingErrors">
+                                <div class="label">(<ng-pluralize count="phantomasResults.metrics.cssParsingErrors" when="{'one': '1 file', 'other': '{} files'}"></ng-pluralize> couldn't be parsed)</div>
+                                <div class="result"></div>
+                                <div class="info"></div>
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -534,6 +539,11 @@
                                     </modal-dialog>
                                 </div>
                             </div>
+                            <div ng-if="phantomasResults.metrics.cssParsingErrors">
+                                <div class="label">(<ng-pluralize count="phantomasResults.metrics.cssParsingErrors" when="{'one': '1 file', 'other': '{} files'}"></ng-pluralize> couldn't be parsed)</div>
+                                <div class="result"></div>
+                                <div class="info"></div>
+                            </div>
                         </div>
                     </div>
                 </div>