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 alpha and beta label processors #111

Merged
merged 1 commit into from
Jan 13, 2015
Merged

Remove alpha and beta label processors #111

merged 1 commit into from
Jan 13, 2015

Conversation

edds
Copy link
Contributor

@edds edds commented Jan 12, 2015

This functionality is now better handled by shared templates. Remove all
the code which added alpha and beta labels.

Any apps that what to continue to display a alpha or beta label should
add:

include Slimmer::SharedTemplates

to application_controller.rb and then in a view where they want the
alpha or beta label to appear use:

<%= render partial: 'govuk_component/alpha_label' %>

All of the applications which are still using this header have pull
requests open to update them to use components:

This functionality is now better handled by shared templates. Remove all
the code which added alpha and beta labels.

Any apps that what to continue to display a alpha or beta label should
add:

```ruby
include Slimmer::SharedTemplates
```

to application_controller.rb and then in a view where they want the
alpha or beta label to appear use:

```erb
<%= render partial: 'govuk_component/alpha_label' %>
```
@dsingleton
Copy link
Contributor

Good diff stats 🔴

dsingleton added a commit that referenced this pull request Jan 13, 2015
Remove alpha and beta label processors
@dsingleton dsingleton merged commit 18a67af into master Jan 13, 2015
@dsingleton dsingleton deleted the alpha-beta branch January 13, 2015 11:04
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.

2 participants