make empty video tags unclickable

This commit is contained in:
Thibault Duplessis 2015-03-23 02:38:10 +01:00
parent b2405aaafe
commit 0d9d658a06
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
@control.tags.map { t =>
@defining(control.filter.tags contains t.tag) { checked =>
<a class="@if(checked) {checked} @if(checked || t.nb > 0) {full} else {empty}"
href="@routes.Video.index?@control.filter.toggle(t.tag).queryString">
@if(checked || t.nb > 0) {href="@routes.Video.index?@control.filter.toggle(t.tag).queryString"}>
@if(t.nb > 0) {<em>@t.nb</em>}
@t.tag.capitalize
</a>

View file

@ -144,7 +144,7 @@
border-color: #d85000!important;
}
#video_side .tag_list a.empty {
opacity: 0.6;
opacity: 0.5;
cursor: default;
}