make empty video tags unclickable
This commit is contained in:
parent
b2405aaafe
commit
0d9d658a06
|
@ -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>
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
border-color: #d85000!important;
|
||||
}
|
||||
#video_side .tag_list a.empty {
|
||||
opacity: 0.6;
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue