+{% load i18n %}\r
{% spaceless %}\r
{% for control in controls %}\r
<span class="action-link">\r
- <a title="{{ control.title }}" class="{% if control.command %}ajax-command{% endif %}{% if control.withprompt %} withprompt{% endif %}"\r
- href="{{ control.url }}">{{ control.text }}</a>\r
+ <a rel="nofollow" title="{{ control.title }}" class="{{ control.classes }}" href="{{ control.url }}">{{ control.text }}</a>\r
</span>\r
{% ifnotequal controls|last control %}\r
<span class="action-link-separator">|</span>\r
{% endifnotequal %}\r
{% endfor %}\r
+{% if menu|length %}\r
+ <span class="action-link-separator">|</span>\r
+ <span id="node-{{ post.id }}-menu" class="context-menu">\r
+ <span id="node-{{ post.id }}-menu-trigger" class="action-link context-menu-trigger">{% trans "more" %} ▼</span>\r
+ <ul id="node-{{ post.id }}-menu-dropdown" class="context-menu-dropdown">\r
+ {% for item in menu %}\r
+ <li class="item"><a rel="nofollow" class="{{ item.classes }}" href="{{ item.url }}" title="{{ item.title }}" >{{ item.text }}</a></li>\r
+ {% endfor %}\r
+ </ul>\r
+ </span>\r
+{% endif %}\r
{% endspaceless %}
\ No newline at end of file