소스 검색

Make abandoned warnings red too

Jordi Boggiano 9 년 전
부모
커밋
0ad3c1a504
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/Packagist/WebBundle/Resources/public/css/main.css
  2. 1 1
      src/Packagist/WebBundle/Resources/views/Web/viewPackage.html.twig

+ 1 - 1
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -1096,7 +1096,7 @@ ul.packages .metadata-block:last-child {
   overflow: hidden;
   text-overflow: ellipsis;
 }
-.package .version-details .license .unknown {
+.package .version-details .license .unknown, .abandoned i {
   color: #c00;
 }
 .package .version-details .authors {

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Web/viewPackage.html.twig

@@ -50,7 +50,7 @@
                     {% endif %}
 
                     {% if package.abandoned %}
-                        <div class="alert alert-warning">
+                        <div class="alert alert-danger">
                             This package is <strong>abandoned</strong> and no longer maintained.
                             {% if package.replacementPackage is not empty %}
                                 The author suggests using the <a href="{{ path('view_package', {name: package.replacementPackage}) }}">{{ package.replacementPackage }}</a> package instead.