Link to each recipient on activity and job pages

We have a page for individual notifications now.

On the job and activity pages each row of the table represents an
individual notification. So it makes sense for these things to be linked
together, so that a user can navigate from one to the other.

This will make more sense once we make some more changes to the
individual notification page.
This commit is contained in:
Chris Hill-Scott
2017-06-19 14:29:58 +01:00
parent 2ee5880e0c
commit 7d0aed0ae8
2 changed files with 4 additions and 2 deletions

View File

@@ -48,7 +48,9 @@
field_headings_visible=False
) %}
{% call row_heading() %}
<p>{{ item.to }}</p>
<p>
<a href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id) }}">{{ item.to }}</a>
</p>
{% endcall %}
{{ notification_status_field(item) }}
{% endcall %}

View File

@@ -18,7 +18,7 @@
{% call row_heading() %}
<p>
{{ item.to }}
<a href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id) }}">{{ item.to }}</a>
</p>
<p class="hint">
{% if item.job and item.job.original_file_name == 'Report' %}