Skip to content

Commit

Permalink
[translations]Updated FE translations keys, comment informed-governan…
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrocha committed Dec 16, 2024
1 parent 5cce256 commit b698bac
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions templates/incidents_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3>{% translate "Overview of reported incidents" %}</h3>
{% if filtered_workflows %}
<a class="btn text-secondary p-0 {% if not incident_workflows %}ps-1{% endif %} border-0"
href="{% url 'download_incident_report_pdf' filtered_workflows.instance.id %}"
title="Download">
title="{% translate 'Download' %}">
<i class="bi bi-filetype-pdf"></i>
</a>
{% endif %}
Expand Down Expand Up @@ -226,11 +226,11 @@ <h3>{% translate "Overview of reported incidents" %}</h3>
<div class="col d-flex align-items-center">
{% block content_table_actions %}
<button class="btn text-secondary access_log p-0" data-incident-id="{{ incident.id }}"
title="Access Log">
title="{% translate 'Access log' %}">
<i class="bi bi-file-earmark-person h4"></i>
</button>
<a class="btn text-secondary p-0 border-0" href="{% url 'download_incident_pdf' incident.id %}"
title="Download">
title="{% translate 'Download' %}">
<i class="bi bi-filetype-pdf h4"></i>
</a>
{% endblock %}
Expand Down
4 changes: 2 additions & 2 deletions templates/observer/incidents.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{% endif %}
{% if filtered_workflows %}
<a class="btn text-secondary p-0 {% if not incident_workflows %}ps-1{% endif %} border-0" href="{% url 'download_incident_report_pdf' filtered_workflows.instance.id %}"
title="Download">
title="{% translate 'Download' %}">
<i class="bi bi-filetype-pdf"></i>
</a>
{% endif %}
Expand Down Expand Up @@ -83,7 +83,7 @@
}'
data-bs-toggle="modal"
data-bs-target="#contacts_incident"
title="Contacts">
title="{% translate 'Contacts' %}">
<i class="bi bi-person-vcard h4"></i>
</button>
{% endblock %}
Expand Down
4 changes: 2 additions & 2 deletions templates/operator/incidents.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3>{% translate "My incidents" %}</h3>
data-workflow-comment="{{ filtered_workflows.comment }}"
data-bs-toggle="modal"
data-bs-target="#workflow_comment"
title="Comment">
title="{% translate 'Comment' %}">
<i class="bi bi-chat-left-text-fill"></i>
</button>
{% endif %}
Expand Down Expand Up @@ -97,7 +97,7 @@ <h3>{% translate "My incidents" %}</h3>
data-delete-url="{% url 'delete_incident' 0 %}"
data-bs-toggle="modal"
data-bs-target="#delete_incident"
title="Delete">
title="{% translate 'Delete' %}">
<i class="bi bi-file-earmark-x h4"></i>
</button>
{% endif %}
Expand Down
3 changes: 2 additions & 1 deletion templates/regulator/incidents.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends 'incidents_base.html' %}
{% load static %}
{% load i18n %}

{% block bootstrap5_extra_script %}
{{ block.super }}
Expand All @@ -21,7 +22,7 @@
}'
data-bs-toggle="modal"
data-bs-target="#contacts_incident"
title="Contacts">
title="{% translate 'Contacts' %}">
<i class="bi bi-person-vcard h4"></i>
</button>
{% endblock %}
Expand Down

0 comments on commit b698bac

Please sign in to comment.