Skip to content

Commit

Permalink
Remove ‘information block’ feature
Browse files Browse the repository at this point in the history
The information-block class was originally added when call-to-action was added to whitehall, and a specialist guide was refactored so that `call-to-action` and `information-block` shared some common CSS[1].

The last reference to the information-block within templates in whitehall was removed when 'detailed guides' were moved to government-frontend[2].

`information-block` itself does not appear to have ever been used in HTML generated by the Govspeak engines in whitehall nor in the standalone gem.

Searching the commit history for whitehall returns only mentions of “information-block” within templates, CSS and tests, and searching the history for alphagov/govspeak returns nothing.

At time of commiting, according to GitHub’s search, there are only 11 files mentioning information-block across the entire alphagov organisation. Ten of these are CSS files, the other is the govspeak.yml file in this repo.[3]

Lastly, we grepped the mirrors for mentions of information-block and found only three results:

```
./guidance/animal-welfare-in-severe-weather.html:        <aside class="related-mainstream-content information-block" role="complementary">
./guidance/disclosure-and-barring-service-criminal-record-checks-referrals-and-complaints.html:        <aside class="related-mainstream-content information-block" role="complementary">
./guidance/pet-travel-quarantine.html:        <aside class="related-mainstream-content information-block" role="complementary">
```

However these all appear to be outdated as the class is not present when viewing the corresponding webpages in production.

[1]: alphagov/whitehall@d658664
[2]: alphagov/whitehall@08b9056
[2]: https://github.com/search?q=org%3Aalphagov+information-block&type=Code
  • Loading branch information
36degrees committed Feb 10, 2017
1 parent 69bf6da commit 943d1e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 56 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/govuk-component/_govspeak.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@import "govspeak/footnotes";
@import "govspeak/fraction";
@import "govspeak/images";
@import "govspeak/information-block";
@import "govspeak/information-callout";
@import "govspeak/legislative-list";
@import "govspeak/media-player";
Expand Down

This file was deleted.

0 comments on commit 943d1e1

Please sign in to comment.