File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -721,23 +721,25 @@ class: 'btn-primary',
721721
722722 btnShowExpiring: {
723723 text: ' {{ (request ()-> input (' status' ) == " expiring" ) ? trans (' general.list_all' ) : trans (' general.show_expiring' ) } }' ,
724- icon: ' fas fa-clock {{ ( request () -> input ( ' status ' ) == " expiring " ) ? ' text-danger ' : ' ' } } ' ,
724+ icon: ' fas fa-clock' ,
725725 event () {
726726 window .location .href = ' {{ (request ()-> input (' status' ) == " expiring" ) ? route (' licenses.index' ) : route (' licenses.index' , [' status' => ' expiring' ]) } }' ;
727727 },
728728 attributes: {
729+ class: " {{ (request ()-> input (' status' ) == " expiring" ) ? ' btn-warning' : ' ' } }" ,
729730 title: ' {{ (request ()-> input (' status' ) == " expiring" ) ? trans (' general.list_all' ) : trans (' general.show_expiring' ) } }' ,
730731
731732 }
732733 },
733734
734735 btnShowInactive: {
735736 text: ' {{ (request ()-> input (' status' ) == " inactive" ) ? trans (' general.list_all' ) : trans (' general.show_inactive' ) } }' ,
736- icon: ' fas fa-history {{ ( request () -> input ( ' status ' ) == " inactive " ) ? ' text-danger ' : ' ' } } ' ,
737+ icon: ' fas fa-history' ,
737738 event () {
738739 window .location .href = ' {{ (request ()-> input (' status' ) == " inactive" ) ? route (' licenses.index' ) : route (' licenses.index' , [' status' => ' inactive' ]) } }' ;
739740 },
740741 attributes: {
742+ class: " {{ (request ()-> input (' status' ) == " inactive" ) ? ' btn-warning' : ' ' } }" ,
741743 title: ' {{ (request ()-> input (' status' ) == " inactive" ) ? trans (' general.list_all' ) : trans (' general.show_inactive' ) } }' ,
742744
743745 }
You can’t perform that action at this time.
0 commit comments