فهرست منبع

Merge branch 'master' into feat/integrate-with-hackmd

Yuki Takei 7 سال پیش
والد
کامیت
bdd676a392
3فایلهای تغییر یافته به همراه7 افزوده شده و 5 حذف شده
  1. 1 0
      CHANGES.md
  2. 1 0
      lib/views/widget/page_tabs.html
  3. 5 5
      resource/styles/scss/theme/_override-agileadmin.scss

+ 1 - 0
CHANGES.md

@@ -9,6 +9,7 @@ CHANGES
 
 
 * Improvement: Show help for header search box
 * Improvement: Show help for header search box
 * Fix: Couldn't delete page completely from search result page
 * Fix: Couldn't delete page completely from search result page
+* Fix: Tabs of trash page are broken
 
 
 ## 3.1.13
 ## 3.1.13
 
 

+ 1 - 0
lib/views/widget/page_tabs.html

@@ -58,6 +58,7 @@
         {% endif %}
         {% endif %}
       </ul>
       </ul>
     </li>
     </li>
+    {% endif %}
   {% endif %}
   {% endif %}
 
 
   <li class="nav-main-right-tab pull-right">
   <li class="nav-main-right-tab pull-right">

+ 5 - 5
resource/styles/scss/theme/_override-agileadmin.scss

@@ -76,33 +76,33 @@ a {
  * Alert
  * Alert
  */
  */
 .alert {
 .alert {
-  a {
+  a:not(.btn) {
     color: white;
     color: white;
   }
   }
 
 
   &.alert-info {
   &.alert-info {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($info, 40%);
         color: lighten($info, 40%);
       }
       }
     }
     }
   }
   }
   &.alert-success {
   &.alert-success {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($success, 40%);
         color: lighten($success, 40%);
       }
       }
     }
     }
   }
   }
   &.alert-warning {
   &.alert-warning {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($warning, 30%);
         color: lighten($warning, 30%);
       }
       }
     }
     }
   }
   }
   &.alert-danger {
   &.alert-danger {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($danger, 30%);
         color: lighten($danger, 30%);
       }
       }