redmine_theme_farend_bleuclair icon indicating copy to clipboard operation
redmine_theme_farend_bleuclair copied to clipboard

Fix Bleuclair not working in latest Redmine (support propshaft)

Open ishikawa999 opened this issue 1 year ago • 4 comments

Related: https://www.redmine.org/issues/39111

ishikawa999 avatar Feb 09 '24 01:02 ishikawa999

Perhaps the paths that are written relative to the following are not working properly because of the change of directory https://github.com/farend/redmine_theme_farend_bleuclair/blob/6a4a1ff624a51992a67641ad33e6d5a561fe0501/stylesheets/application.css#L1-L2

ishikawa999 avatar Feb 09 '24 01:02 ishikawa999

https://github.com/farend/redmine_theme_farend_bleuclair/tree/support-propshaft https://github.com/farend/redmine_theme_farend_bleuclair/commit/c06330c064d19b02ea3bb6ca7e9a5c37d6c33519

ishikawa999 avatar Apr 01 '24 08:04 ishikawa999

The change c06330c causes a problem if the application is deployed under a subdirectory such as http://www.example.com/redmine.

I think it should be fixed like this:

diff --git a/themes/bleuclair/stylesheets/application.css b/themes/bleuclair/stylesheets/application.css
index d52e6a447..a7616b249 100644
--- a/themes/bleuclair/stylesheets/application.css
+++ b/themes/bleuclair/stylesheets/application.css
@@ -1,2 +1,2 @@
-@import url(/application.css);
+@import url(../../application.css);
 @import url(./theme.css);

vividtone avatar Jun 19 '24 05:06 vividtone

@vividtone

Thank you for your feedback. I have found the countermeasure to be effective and have added commit f9246941aa99142ea42949f8b44e07688f1dfdb5

ishikawa999 avatar Jun 19 '24 06:06 ishikawa999