Commit Graph

5645 Commits

Author SHA1 Message Date
karlchillmaid
0ca4b892dd Update link content
Update link content to set user expectations about where the link will take them.
2019-09-05 16:46:25 +01:00
Chris Hill-Scott
b67ea7f268 Retire old static content pages 2019-09-05 16:25:15 +01:00
Tom Byers
9d8fcf34fc Fix variable assignment
Without the `var` prefix this was making
`$submitButton` a global variable, which is not
what the code intended.
2019-09-05 10:52:13 +01:00
Chris Hill-Scott
2fe7887ec6 Merge pull request #3113 from alphagov/remove-expanded
Update utils to remove toggle for expanding email previews
2019-09-03 09:15:28 +01:00
Chris Hill-Scott
40e020d40d Remove expand_emails argument from get_template
It isn’t used for anything now.
2019-09-02 17:04:53 +01:00
Chris Hill-Scott
17b8c0194b Update utils and remove expanded argument
This argument was removed in https://github.com/alphagov/notifications-utils/pull/643
2019-09-02 17:04:53 +01:00
Leo Hemsted
0cf1251cad Merge pull request #3101 from alphagov/billing-for-all-services-report
Usage for all services
2019-09-02 16:38:23 +01:00
karlchillmaid
f2611f61b8 Update app/templates/partials/templates/guidance-send-a-document.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-09-02 15:48:27 +01:00
karlchillmaid
a94ca9082c Remove comment-out
Because we've added 'Send a document' content to all client docs and we added channel-specific features pages with 'Send files by email' content, we're going to reintroduce the instructions that were commented out as part of https://github.com/alphagov/notifications-admin/pull/2270
2019-09-02 15:30:34 +01:00
Tom Byers
af689d4ac3 Merge pull request #3108 from alphagov/remove-expand-collapse-js
Remove expandCollapse JS
2019-08-30 14:29:34 +01:00
Tom Byers
26e1e3a5cb Remove CSS tied to .js-enabled class
Not as obviously connected to expandCollapse but
no longer needed.
2019-08-30 08:44:14 +01:00
Chris Hill-Scott
13a98a73c1 Set free allowance for GP surgeries
This also tests that a user from an unknown organisation can pick any
of the available options and get the right allowance.
2019-08-29 17:47:14 +01:00
Tom Byers
c9c3f90fd8 Remove CSS used by expandCollapse.js 2019-08-29 16:42:47 +01:00
Tom Byers
030979a864 Remove expandCollapse.js script and refs to it 2019-08-29 16:42:27 +01:00
Tom Byers
9d176d8d8d Merge pull request #3093 from alphagov/fix-aria-on-fullscreen-table
Change method of hiding extra table layer
2019-08-29 14:01:54 +01:00
Leo Hemsted
6412a4ab33 use a flash error message on the platform admin usage report
that makes more sense than attaching the error to a field

also fix tests and assert csv contents are correct
2019-08-29 10:49:38 +01:00
Chris Hill-Scott
c9a32c7327 Remove duplication of org type lookup
There’s a couple of places where we’re looking up the label for the type
of organisation.

Having this repeated in multiple places means it’s more likely we forget
to update one of these places when making a change.

This commit looks up from the tuple in the organisation model, which is
where other code references this stuff from. This is only possible now
that we don’t have duplicate keys (ie GP practice doesn’t share a key
any more).
2019-08-28 15:36:09 +01:00
Chris Hill-Scott
38c2b32fa8 Add ‘GP’ as an organisation type
Although their allowances are the same as what we call `nhs_local` it
makes more sense to store them separately because:

- we already present them as two separate choices to the user
- we may want to handle them differently in the future, eg in terms of
  what branding choices are available to them

Once the API is updated we can start passing in this new value from
the admin app.
2019-08-28 15:36:09 +01:00
Chris Hill-Scott
efabf0e87d Refactor to avoid redefinition of org types
We’re defining the list of org types in a few different places. This
makes it more likely we’ll forget to update one of these places, thereby
introducing a bug.

This commit moves the definition to be on the organisation model, which
feels like a sensible enough place for it.
2019-08-28 15:36:08 +01:00
Rebecca Law
2fe5c4a96e New report on platform-admin/reports page to get the usage for all services. 2019-08-23 17:14:04 +01:00
karlchillmaid
4c232a9cab Fix h2 tag so heading displays properly 2019-08-23 14:16:23 +01:00
karlchillmaid
0d7005094a Merge pull request #3099 from alphagov/update-receive-text-message-content
Update explanation of inbound SMS
2019-08-23 14:13:54 +01:00
Tom Byers
823c5a6119 Add clearEvents method & refactor setEvents
`clearEvents` helps write the tests and also gives
users the opportunity to remove all of this
functionality.

Refactor of `setEvents` tidies up use of `self`.
2019-08-22 15:16:45 +01:00
karlchillmaid
165054866c Add sender name option to 'if' content 2019-08-22 13:55:29 +01:00
karlchillmaid
3f73106b31 Change 'users' to 'they' to reduce repetition 2019-08-22 10:52:26 +01:00
karlchillmaid
2967d7c54e Add code for current sender field 2019-08-22 10:50:04 +01:00
karlchillmaid
2ed988274f Add sender name placeholder 2019-08-22 09:34:47 +01:00
karlchillmaid
1f93b37d5c Update explanation of inbound SMS 2019-08-21 16:55:42 +01:00
karlchillmaid
983a1dc931 Merge pull request #3096 from alphagov/documentation-content-update
Update Documentation content
2019-08-21 14:33:37 +01:00
karlchillmaid
23f2ae1b3a Fix apostrophes 2019-08-21 11:10:23 +01:00
karlchillmaid
d4834c988d Fix apostrophes 2019-08-21 11:08:00 +01:00
karlchillmaid
8989f5a93b Update 'client libraries' 2019-08-21 10:17:36 +01:00
karlchillmaid
c05969e230 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:27 +01:00
karlchillmaid
ff663ed172 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:17 +01:00
karlchillmaid
6c9f6463c3 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:10 +01:00
karlchillmaid
af7222de1d Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:03 +01:00
karlchillmaid
12f0c1e0ff Update timings and direct integration content 2019-08-21 09:56:27 +01:00
karlchillmaid
3dfa6e06cc Update client documentation content 2019-08-20 17:06:01 +01:00
karlchillmaid
73415f7a08 Update Integrating directly with the API content
Move the line about reading client documentation.
2019-08-20 15:07:48 +01:00
karlchillmaid
39461b369d Add details about timings and direct integration
Outline how long it can take to integrate using the client documentation.

Add more detail about how to integrate directly with the API.
2019-08-20 14:51:54 +01:00
karlchillmaid
98f51d8174 Update content 2019-08-20 12:03:42 +01:00
karlchillmaid
016f8f46ec Update receive text messages content
Update receive text messages content for clarity
2019-08-19 15:56:53 +01:00
Tom Byers
92626c3f41 Change method of hiding extra table layer
This module creates a clone of the existing table
as an extra layer which sits on top of it.

This allows the row headers to sit above the table
content when it scrolls.

We were setting `role=presentation` on the extra
table to hide it from assistive technologies.

It seems that this wasn't working. From the spec'
`role-presentation` should remove the semantics of
the table but leave the content.

Testing in Safari, with the OSX Accessibility
Inspector, this isn't happening and the table is
still being reported as a table by the
accessibility API.

This changes to the `aria-hidden` attribute, to
make sure the extra table is ignored.
2019-08-16 16:23:29 +01:00
Pea (Malgorzata Tyczynska)
551c4abee2 Merge pull request #3089 from alphagov/search-services-by-name
Find services by name or partial name
2019-08-16 11:53:07 +01:00
Pea Tyczynska
3844d050ff Simplify find users by email view - valdiation already done by form 2019-08-16 11:20:36 +01:00
karlchillmaid
2707e5192e Amend content for clarity 2019-08-15 15:13:39 +01:00
karlchillmaid
b0c6b7c2d4 Update roadmap 2019-08-15 13:13:11 +01:00
Pea Tyczynska
a906552c25 Require data on search by name form
This lets us build leaner views when using this form.
2019-08-15 12:41:51 +01:00
Pea Tyczynska
035cb19568 Find services by name or partial name 2019-08-14 11:38:58 +01:00
karlchillmaid
1e248d9205 Merge pull request #3083 from alphagov/text-message-pricing-update
Update Pricing information
2019-08-13 09:49:09 +01:00