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