Remove inheritance of More action on first action
More indicator in the action dropdown should not inherit the class of the first action. Any custom behavior attached to the first action will also be inherited by More. Example: If the first action had btn-danger, the More button become red too. This might give the user the impression that More is also a dangerous operation. Fixes bug 1158419 Change-Id: Id078b738ba635ec47d2f32cde1917295f3ca5a79
This commit is contained in:
parent
704c5a52f3
commit
7c681ffdc8
@ -6,7 +6,7 @@
|
|||||||
{% for action in row_actions %}
|
{% for action in row_actions %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
{% include "horizon/common/_data_table_row_action.html" %}
|
{% include "horizon/common/_data_table_row_action.html" %}
|
||||||
<a class="btn btn-small dropdown-toggle {{ action.class_string|safe }}" data-toggle="dropdown" href="#">
|
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
|
||||||
{% trans "More" %}
|
{% trans "More" %}
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user