Commit Graph

1728 Commits

Author SHA1 Message Date
catherineheywood
ba9e968b33 Line break in table 2016-05-05 11:56:06 +01:00
catherineheywood
4597439fcd Template ID in caps 2016-05-05 11:50:33 +01:00
catherineheywood
9bb1d7e021 Correct typo 2016-05-05 11:42:25 +01:00
catherineheywood
a9edcff13a Correct page_size field; iss and id in code format 2016-05-05 11:38:26 +01:00
catherineheywood
c138b4a16b Doc changes 2016-05-05 11:32:40 +01:00
catherineheywood
4ce32e0b8e Doc changes 2016-05-05 11:13:21 +01:00
Chris Hill-Scott
d93eb4f30e Merge pull request #541 from alphagov/populate-test
Introduce replacement of placeholders to send yourself a test
2016-05-05 11:00:36 +01:00
catherineheywood
afc8fb08f3 reword 'total' field explanation 2016-05-05 10:26:44 +01:00
catherineheywood
d9cc4c67d5 correct typos 2016-05-05 09:57:11 +01:00
catherineheywood
d58cfd9012 Revise list of field descriptions 2016-05-05 09:45:58 +01:00
catherineheywood
b9cd3a7936 Add titles to API endpoints section 2016-05-05 09:25:52 +01:00
catherineheywood
b262039a5a Remove real phone number from examples 2016-05-05 09:18:21 +01:00
catherineheywood
208bbbad31 Revise list of field descriptions 2016-05-05 09:06:33 +01:00
Chris Hill-Scott
6917e11207 Make ‘send emails/text messages’ link bold
It:
- makes this whole block of links slightly more prominent
- reinforces that ‘send’ is the primary action
2016-05-05 08:58:13 +01:00
Chris Hill-Scott
a8c62ee40a Make ‘Back’ button go to the right place
When you send yourself a test clicking the grey ‘Back’ button should
send you back to the page with the textboxes, if that’s where you came
from.
2016-05-05 08:58:13 +01:00
Chris Hill-Scott
687ccad018 Make send a test teach you how placeholders work
This commit does two main things:

- adds textboxes to the send yourself a test page, so you can replace
  ((name)) with ‘Chris’, or whatever your name is
- rejigs the send page a bit to make it clearer what the CSV upload is
  for and how to use it

The idea being that, since most users go into ‘send yourself a test’
first, it teaches them about how placeholders work by making them do the
replacing themselves.
2016-05-05 08:53:00 +01:00
Chris Hill-Scott
9d37040d49 Add recipient to message previews
When previewing a template on the send page, having the recipient appear
as a placeholder should help reinforce the relationship between the
columns in the CSV and the placeholders.

Then, when previewing a message, having the template populated with the
first recipient’s email address/phone number should reinforce that
relationship again.
2016-05-05 08:45:29 +01:00
catherineheywood
3861da8a15 Remove query 2016-05-04 16:35:55 +01:00
catherineheywood
478508e0b5 Move list of field explanations 2016-05-04 16:34:51 +01:00
NIcholas Staples
6f017506fa Merge pull request #540 from alphagov/update-python-client
Update python client to version 1.0.0
2016-05-04 16:30:59 +01:00
Rebecca Law
4292aec4b7 Update python client to version 1.0.0 2016-05-04 16:17:46 +01:00
catherineheywood
58e0843d9b Error message wording 2016-05-04 16:03:40 +01:00
catherineheywood
66520edede Add table with error messages;update GET responses 2016-05-04 15:45:38 +01:00
Adam Shimali
7ddb063477 Merge pull request #539 from alphagov/update-flask-login
Updated flask-login to version 0.3.2
2016-05-04 14:32:43 +01:00
Adam Shimali
09117e5eeb Updated flask-login to version 0.3.2 2016-05-04 14:06:14 +01:00
catherineheywood
d20228ea25 Add sentences introducing responses to GET 2016-05-04 11:19:09 +01:00
Chris Hill-Scott
5f1ecb2ae6 Merge pull request #536 from alphagov/case-insensitive-csv-headers
Ignore case and spacing in CSV column headers
2016-05-04 11:12:10 +01:00
Chris Hill-Scott
e385872893 Ignore case and spacing in CSV column headers
Implements:
https://github.com/alphagov/notifications-utils/pull/28
2016-05-04 11:02:27 +01:00
Chris Hill-Scott
cb93e8ada5 Merge pull request #534 from alphagov/footer-changes
Footer links moved around to more sensible groupings
2016-05-03 15:42:00 +01:00
catherineheywood
56b5013873 Indicate if string/array for parameters 2016-05-03 15:31:01 +01:00
Chris Hill-Scott
e8bb0ee889 Merge pull request #533 from alphagov/relabel-usage
Rename ‘this year’
2016-05-03 13:51:30 +01:00
catherineheywood
59ff514f43 Doc tweaks (GDS style guide) 2016-05-03 13:32:51 +01:00
NIcholas Staples
bd0afce745 Merge pull request #527 from alphagov/windows_csv
Only check on csv is the file extension.
2016-05-03 12:50:34 +01:00
Pete Herlihy
061cbfa82d Footer links moved around to more sensible groupings 2016-05-03 12:26:44 +01:00
Chris Hill-Scott
71f7e144a4 Rename ‘this year’
Make it clear that this section is about what you’ve used, ie your usage

Click ‘breakdown’ to see how the maths is done, and what time period it
covers.
2016-05-03 12:25:01 +01:00
catherineheywood
1df23fff90 Doc tweaks, improve readability (GDS style guide) 2016-05-03 11:36:01 +01:00
Chris Hill-Scott
1d0b28f156 Merge pull request #524 from alphagov/usage
Add usage to the dashboard
2016-05-03 11:35:11 +01:00
Chris Hill-Scott
00030bc254 Add usage to the dashboard
Takes the number of emails and SMS fragments sent from:
https://github.com/alphagov/notifications-api/pull/273

Using these numbers it’s possible to show:
- how much of your allowance is left
- or how much you have spent

For now the allowance and rates are hard coded.

Only for users that have manage service.
2016-05-03 11:06:12 +01:00
NIcholas Staples
9e94d2382d Merge pull request #532 from alphagov/british_time
Times from api are now formatted to the british time.
2016-05-03 11:02:21 +01:00
Chris Hill-Scott
f6ba5ec8d0 Merge pull request #528 from alphagov/activity-improvements
Link up the last 7 days
2016-05-03 10:58:51 +01:00
Nicholas Staples
e1f3975c9a Times from api are now formatted to the british time. 2016-05-03 10:55:37 +01:00
catherineheywood
d4c77f3164 Resize image file 2016-05-03 10:42:31 +01:00
catherineheywood
40db98b2c7 Add anchors to titles 2016-05-03 10:28:49 +01:00
catherineheywood
1721139322 Remove image file 2016-05-03 10:23:42 +01:00
catherineheywood
e11879ede7 Change JWT to JSON Web Tokens 2016-05-03 10:20:53 +01:00
Nicholas Staples
f581ff44d0 Only check on csv is the file extension.
Update validator logic

Update message for the validator.
2016-05-03 10:10:58 +01:00
Chris Hill-Scott
d1dec6d5a0 Default aggregate statistics to 0, not None
If they API returns no statistics for a given time period we should
assume that this is equivalent to 0. This means that the template can
always rely on the dictionary having the same keys.
2016-05-03 09:18:24 +01:00
Chris Hill-Scott
1965537f30 Merge pull request #530 from alphagov/non-bold-7-days-text
Make ‘7 days’ text on activity page not bold’
2016-05-03 09:03:13 +01:00
Chris Hill-Scott
127651b894 Make ‘7 days’ text on activity page not bold’ 2016-05-03 08:57:19 +01:00
Chris Hill-Scott
edc49a2870 Merge pull request #525 from alphagov/api-bumpf
Remove bumf from the API keys page
2016-04-29 16:05:00 +01:00