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

Add missing step for adding org logo #4956

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ The [organisation logo component](https://components.publishing.service.gov.uk/c

To add or update single identity logos in the publishing components gem, please refer to the [organisation-logos component documentation](https://github.com/alphagov/govuk_publishing_components/blob/main/docs/organisation-logos.md).

### 2. Add the organisation logo as an option in Whitehall
### 2. Add the organisation to the corresponding schemas in Publishing API

See [example](https://github.com/alphagov/publishing-api/pull/3091).

### 3. Add the organisation logo as an option in Whitehall

Add a new entry for the organisation in [app/models/organisation_logo_type.rb](https://github.com/alphagov/whitehall/blob/main/app/models/organisation_logo_type.rb), which will show the organisation as an option under the [organisation logo drop down field](https://github.com/alphagov/whitehall/blob/52aff8f61a29b3999054b5b5c94875a5534eaf9a/app/views/admin/organisations/_form.html.erb#L15) in Whitehall. The CSS class name should match the abbreviated organisation name added above in the govuk publishing components gem.

Expand Down
Loading