Skip to content

Commit

Permalink
add the tool name as a data attr
Browse files Browse the repository at this point in the history
make it easier to target with css or js
  • Loading branch information
crccheck committed Oct 20, 2012
1 parent 4e83c00 commit 0e6acb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% block object-tools-items %}
{% for tool in objectactions %}
<li class="objectaction-item">
<li class="objectaction-item" data-tool-name="{{ tool.name }}">
<a href='tools/{{ tool.name }}/' title="{{ tool.short_description }}">
{{ tool.label|capfirst }}
</a>
Expand Down

0 comments on commit 0e6acb8

Please sign in to comment.