Skip to content

Commit

Permalink
Adding class to list item
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdjones committed Apr 10, 2018
1 parent 4c24246 commit d61516c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for object_tool in object_tools %}
<li class="{{ object_tool.name|slugify }}"><a href="{{ object_tool.reverse }}{% if request %}?{{ request.GET.urlencode }}{% endif %}" title="{{ object_tool.help_text }}"class="historylink">{{ object_tool.label }}</a></li>
<li class="{{ object_tool.name|slugify }}"><a href="{{ object_tool.reverse }}{% if request %}?{{ request.GET.urlencode }}{% endif %}" title="{{ object_tool.help_text }}" class="historylink">{{ object_tool.label }}</a></li>
{% endfor %}

1 comment on commit d61516c

@nickdjones
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a class to the list item allows the menu to be fine-tuned using CSS if needed

Please sign in to comment.