Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Serve all the vendor fonts and font-awesome locally #534

Merged
merged 1 commit into from
Nov 10, 2015

Conversation

mssola
Copy link
Collaborator

@mssola mssola commented Nov 5, 2015

This way, all the font-awesome related stuff will be served locally, instead of
bootstrap's CDN. This is important if we want Portus to be available in setups
that don't have access to an external network.

Signed-off-by: Miquel Sabaté Solà [email protected]

@jordimassaguerpla
Copy link
Member

lgtm

@mssola
Copy link
Collaborator Author

mssola commented Nov 5, 2015

I've updated the PR so it also includes other missing vendor fonts.

@mssola mssola changed the title app/assets/stylesheets: use the "font-awesome-rails" gem Serve all the vendor fonts and font-awesome locally Nov 5, 2015
@@ -1,2 +1,3 @@
Rails.application.config.assets.version = "1.0"
Rails.application.config.assets.precompile += %w( auth/cover.js )
Rails.application.config.assets.precompile << /\.(?:woff2)\z/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't it be easier (for understanding) to use globbing? ie Rails.application.config.assets.precompile += %w( auth/cover.js *.woff2 )

This is important if we want Portus to be available in setups that
don't have access to an external network.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
@mssola
Copy link
Collaborator Author

mssola commented Nov 9, 2015

@salzig you're right. I've updated the patch.

@flavio
Copy link
Member

flavio commented Nov 9, 2015

I think this can be merged right now.

mssola added a commit that referenced this pull request Nov 10, 2015
Serve all the vendor fonts and font-awesome locally
@mssola mssola merged commit 29913da into SUSE:master Nov 10, 2015
@mssola mssola deleted the font-awesome branch November 12, 2015 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants