maTh %!s(int64=4) %!d(string=hai) anos
pai
achega
f934eb981e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      app/views/subscription/index.phtml
  2. 1 1
      p/scripts/category.js

+ 1 - 1
app/views/subscription/index.phtml

@@ -55,7 +55,7 @@
 			<?php 	}
 			<?php 	}
 				} else {
 				} else {
 			?>
 			?>
-			<li class="item disabled" dropzone="move"><?= _t('sub.category.empty') ?></li>
+			<li class="item feed disabled" dropzone="move"><div class="alert-warn"><?= _t('sub.category.empty') ?></div></li>
 			<?php } ?>
 			<?php } ?>
 		</ul>
 		</ul>
 	</div>
 	</div>

+ 1 - 1
p/scripts/category.js

@@ -25,7 +25,7 @@ function dragend_process(t) {
 		t.remove();
 		t.remove();
 
 
 		if (p.childElementCount <= 0) {
 		if (p.childElementCount <= 0) {
-			p.insertAdjacentHTML('beforeend', '<li class="item disabled" dropzone="move">' + context.i18n.category_empty + '</li>');
+			p.insertAdjacentHTML('beforeend', '<li class="item feed disabled" dropzone="move"><div class="alert-warn">' + context.i18n.category_empty + '</div></li>');
 		}
 		}
 	}
 	}
 }
 }