diff options
-rw-r--r-- | horizon/templates/horizon/common/_data_table_table_actions.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/horizon/templates/horizon/common/_data_table_table_actions.html b/horizon/templates/horizon/common/_data_table_table_actions.html index 44ff936f2..98f0982f5 100644 --- a/horizon/templates/horizon/common/_data_table_table_actions.html +++ b/horizon/templates/horizon/common/_data_table_table_actions.html @@ -4,7 +4,7 @@ {% if filter.filter_type == 'fixed' %} <div class="table_filter btn-group" data-toggle="buttons-radio"> {% for button in filter.fixed_buttons %} - <button name="{{ filter.get_param_name }}" type="submit" value="{{ button.value }}" class="btn btn-default{% ifequal button.value filter.filter_string %} active{% endifequal %}"> + <button name="{{ filter.get_param_name }}" type="submit" value="{{ button.value }}" class="btn btn-default{% if button.value == filter.filter_string %} active{% endif %}"> {% if button.icon %} <span class="fa {{ button.icon }}"></span> {% endif %} |