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:
Lin Hua Cheng 2013-03-21 11:06:27 -07:00
parent 704c5a52f3
commit 7c681ffdc8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
{% for action in row_actions %}
{% if forloop.first %}
{% 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" %}
<span class="caret"></span>
</a>