|
|
@ -23,7 +23,14 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
{% endcomment %} |
|
|
{% endcomment %} |
|
|
|
|
|
|
|
|
{% load i18n %} |
|
|
{% load i18n %} |
|
|
|
|
|
|
|
|
|
|
|
{% if name == "user" %} |
|
|
|
|
|
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans "History" %}" href="{% url 'logs:user-history' id %}"> |
|
|
|
|
|
<i class="fa fa-history"></i> {% if text %}{% trans "History" %}{% endif %} |
|
|
|
|
|
</a> |
|
|
|
|
|
{% else %} |
|
|
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans "History" %}" href="{% url 'logs:history' application name id %}"> |
|
|
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans "History" %}" href="{% url 'logs:history' application name id %}"> |
|
|
<i class="fa fa-history"></i> {% if text %}{% trans "History" %}{% endif %} |
|
|
<i class="fa fa-history"></i> {% if text %}{% trans "History" %}{% endif %} |
|
|
</a> |
|
|
</a> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|