mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Display by default only visible buttons
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
			
		||||
        <div class="form-group">
 | 
			
		||||
            <div id="div_active_only" class="form-check">
 | 
			
		||||
                <label for="active_only" class="form-check-label">
 | 
			
		||||
                    <input type="checkbox" name="active_only" class="checkboxinput form-check-input" id="active_only">
 | 
			
		||||
                    <input type="checkbox" name="active_only" class="checkboxinput form-check-input" checked="" id="active_only">
 | 
			
		||||
                    {% trans "Display visible buttons only" %}
 | 
			
		||||
                </label>
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -94,6 +94,8 @@
 | 
			
		||||
     $(document).ready(function() {
 | 
			
		||||
         $("#search_field").keyup(search_field_moved);
 | 
			
		||||
         $("#active_only").change(search_field_moved);
 | 
			
		||||
 | 
			
		||||
         search_field_moved();
 | 
			
		||||
     });
 | 
			
		||||
</script>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user