<div style="float:right">
{% for action in res.potentialAction %}
    {% if action.className == "ViewAction" %}
        <a href="{{ action.target }}"/>{% i18n "View" %}</a>
    {% elif action.className == "DownloadAction" %}
        <a href="{{ action.target }}">{% i18n "Download" %}</a>
    {% elif action.className == "UpdateAction" %}
        <a href="{{ action.target }}"/>{% i18n "Modify" %}</a>
    {% elif action.className == "CancelAction" %}
        <a href="{{ action.target }}"/>{% i18n "Cancel" %}</a>
    {% elif action.className == "CheckInAction" %}
        <a href="{{ action.target }}"/>{% i18n "Check-In" %}</a>
    {% endif %}

    {% if not forloop.last %} | {% endif %}
{% endfor %}
</div>
