From cfef8912236be2f93b9e2fddd338d971fab6bcd1 Mon Sep 17 00:00:00 2001 From: peggles2 Date: Wed, 27 Feb 2019 16:22:20 -0500 Subject: [PATCH] SRCH-438, SRCH-431 - fix the css so magnifying glass glyphicon displays properly and sayt works on main pages (#247) * SRCH-438-fix the css so magnifying glass glyphicon displays properly * update symlink --- .../searches/custom_bootstrap/_sprites.less | 4 ++-- deploy/before_symlink.rb | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/searches/custom_bootstrap/_sprites.less b/app/assets/stylesheets/searches/custom_bootstrap/_sprites.less index 125294f3ad..15a7ed2f87 100755 --- a/app/assets/stylesheets/searches/custom_bootstrap/_sprites.less +++ b/app/assets/stylesheets/searches/custom_bootstrap/_sprites.less @@ -16,8 +16,8 @@ // Sprite icons path // ------------------------- -@iconSpritePath: asset-url('bootstrap/glyphicons-halflings.png'); -@iconWhiteSpritePath: asset-url('bootstrap/glyphicons-halflings-white.png'); +@iconSpritePath: 'bootstrap/glyphicons-halflings.png'; +@iconWhiteSpritePath: 'bootstrap/glyphicons-halflings-white.png'; .icon { display: inline-block; diff --git a/deploy/before_symlink.rb b/deploy/before_symlink.rb index 5c6fc0f243..ba3c927b28 100644 --- a/deploy/before_symlink.rb +++ b/deploy/before_symlink.rb @@ -7,17 +7,16 @@ group 'www-data' end -# Compiled assets always end with 32 hex characters. -# Bash sux and doesn't support [0-9a-f]{32}, and if -# you type [0-9a=f] 32 times you get "File name too long", -# so we'll match using any 32 characters. Meh. -TTHC = "?"*32 - # Pre-compile assets. Also, a very small subset of the assets # need to be available without digest fingerprints in their # filenames - assets that live "in the wild" and can't be # updated whenever our asset fingerprints change. run <