Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove generated gov.uk from relative print links #234

Merged
merged 1 commit into from
Aug 8, 2016

Conversation

robinwhittleton
Copy link
Contributor

Relative links currently have a https://www.gov.uk prepended to them in the print view. This is fine for gov.uk but not for other consumers of the template. I’ve updated static to include the prefix; this commit removes it from the template. Will fix #224.

Relative links currently have a https://www.gov.uk prepended to them in the print view. This is fine for gov.uk but not for other consumers of the template. I’ve updated static to include the prefix (alphagov/static#823); this commit removes it from the template.
@dsingleton dsingleton merged commit 3189d6b into master Aug 8, 2016
@dsingleton dsingleton deleted the migrate-link-print-styles branch August 8, 2016 16:11
robinwhittleton pushed a commit that referenced this pull request Aug 17, 2016
- Remove gov.uk prefix from relative links when printing (PR #234)
- Fix a .visually-hidden bug on GOV.UK (PR #177)
@robinwhittleton robinwhittleton mentioned this pull request Aug 17, 2016
gemmaleigh added a commit to alphagov/govuk_accessibility_sandbox that referenced this pull request Sep 6, 2016
https://raw.githubusercontent.com/alphagov/govuk_template/master/CHANGEL
OG.md

# 0.18.1

- Remove gov.uk prefix from relative links when printing ([PR
#234](alphagov/govuk_template#234))
- Fix a `.visually-hidden` bug on GOV.UK ([PR
#177](alphagov/govuk_template#177))

# 0.18.0

- Publish the Jinja version of the template to NPM
- Update HTML5 Shiv to the latest version
- Remove an errant font loader script that was only being used for IE8

# 0.17.3

- Fix colour of H2 headings in footer

# 0.17.2

- Fix a bug with the skip-to-content link and iOS Voiceover
- Migrate @Viewport statement from govuk_frontend_toolkit

# 0.17.1

- Reduce file size of template: removes HTML comments, `type`
attributes on
  scripts, and uses HTML5 charset declaration. #208
- Switch external link media query to be mobile first #205
- Sass file cleanups
  - Replace old grid mixins with newer grid from frontend toolkit #134
  - Remove duplicate grey variables #201

# 0.17.0

- Add CSS hook (`.js-hidden`) for hiding content when JS is enabled.
Some apps
  have an equivalent hook, which can be removed once upgraded to this
version

# 0.16.4

- Fix publish the Jinja version of the template with a `package.json`
for those
  consuming it with NPM

# 0.16.3

- make the Django version of the template into a proper Python package
- publish the Jinja version of the template with a `package.json` for
those
  consuming it with NPM

# 0.16.2

- more static assets added to `assets.precompile` to improve
  compatibility with apps running rails > 4.2.5

# 0.16.1

- Fix colour of logo when in `:active` state
Guntrisoft added a commit to guidance-guarantee-programme/pension_guidance that referenced this pull request Dec 2, 2016
Makes the following changes:

Remove generated gov.uk from relative print links
alphagov/govuk_template#234

Fix extended footer on certain pages
alphagov/govuk_template#177

Degrade gracefully when external JS can’t be loaded
alphagov/govuk_template#248

Add docs for adding tabindex="-1" to fix the skiplink
alphagov/govuk_template#250

Logo fixes
alphagov/govuk_template#237

Remove external links styles
alphagov/govuk_template#231

Don’t include both html5shiv and html5shiv-printshiv
alphagov/govuk_template#254

Update govuk_frontend_toolkit to 5.0.0
alphagov/govuk_template#256

Fixed scala compilation failure for play template
alphagov/govuk_template#261
Guntrisoft added a commit to guidance-guarantee-programme/pension_guidance that referenced this pull request Dec 2, 2016
Makes the following changes:

Remove generated gov.uk from relative print links
alphagov/govuk_template#234

Fix extended footer on certain pages
alphagov/govuk_template#177

Degrade gracefully when external JS can’t be loaded
alphagov/govuk_template#248

Add docs for adding tabindex="-1" to fix the skiplink
alphagov/govuk_template#250

Logo fixes
alphagov/govuk_template#237

Remove external links styles
alphagov/govuk_template#231

Don’t include both html5shiv and html5shiv-printshiv
alphagov/govuk_template#254

Update govuk_frontend_toolkit to 5.0.0
alphagov/govuk_template#256

Fixed scala compilation failure for play template
alphagov/govuk_template#261
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

print css sets link base url to
2 participants