diff options
author | Zuul <zuul@review.opendev.org> | 2022-03-12 22:00:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-03-12 22:00:03 +0000 |
commit | cf4e537e198b92c1148d5d8e4b398399a83a8978 (patch) | |
tree | 9de8243976bc795e5f3c91108e20c2bd165da2d0 | |
parent | 52a1025047b2d8f82a88369da243fa72b1bd9b20 (diff) | |
parent | 94216e027d890868cb5b3e25b4ce37442c4fbb28 (diff) | |
download | horizon-cf4e537e198b92c1148d5d8e4b398399a83a8978.tar.gz |
Merge "Address RemovedInDjango40Warning (5)"
-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 %} |