mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #168 from alphagov/mask-phone-number-jobs-page
Make job page more realistic for demo
This commit is contained in:
@@ -29,12 +29,12 @@
|
|||||||
<ul class="grid-row job-totals">
|
<ul class="grid-row job-totals">
|
||||||
<li class="column-one-quarter">
|
<li class="column-one-quarter">
|
||||||
{{ big_number(
|
{{ big_number(
|
||||||
1, 'queued'
|
0, 'queued'
|
||||||
)}}
|
)}}
|
||||||
</li>
|
</li>
|
||||||
<li class="column-one-quarter">
|
<li class="column-one-quarter">
|
||||||
{{ big_number(
|
{{ big_number(
|
||||||
0, 'sent'
|
1, 'sent'
|
||||||
)}}
|
)}}
|
||||||
</li>
|
</li>
|
||||||
<li class="column-one-quarter">
|
<li class="column-one-quarter">
|
||||||
@@ -52,19 +52,23 @@
|
|||||||
|
|
||||||
{% call(item) list_table(
|
{% call(item) list_table(
|
||||||
[
|
[
|
||||||
{'phone': '+447700 900995', 'template': template['name'], 'status': 'queued'}
|
{'row': 1, 'phone': '+447700 900995', 'template': template['name'], 'status': 'queued'}
|
||||||
],
|
],
|
||||||
caption=uploaded_file_name,
|
caption=uploaded_file_name,
|
||||||
caption_visible=False,
|
caption_visible=False,
|
||||||
empty_message="Messages go here",
|
empty_message="Messages go here",
|
||||||
field_headings=[
|
field_headings=[
|
||||||
|
'Row',
|
||||||
'Recipient',
|
'Recipient',
|
||||||
'Template',
|
'Template',
|
||||||
right_aligned_field_heading('Status')
|
right_aligned_field_heading('Status')
|
||||||
]
|
]
|
||||||
) %}
|
) %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
{{item.phone}}
|
{{ item.row }}.
|
||||||
|
{% endcall %}
|
||||||
|
{% call field() %}
|
||||||
|
{{item.phone[:3]}} •••• ••••••
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
{{item.template}}
|
{{item.template}}
|
||||||
|
|||||||
Reference in New Issue
Block a user