-
Notifications
You must be signed in to change notification settings - Fork 217
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
In Redmine version 6.0.0, the current theme appears to be broken. #284
Comments
Yes, same here! I have returned to 5.1.4 until this is resolved. Is there a plan to make PurpleMine compatible with Redmine 6? |
Yeah, same for me. I guess the move from -/public/themes/* to +/app/assets/themes/* Really messed things up. I tried to just change the path in the themes application.css file but it's not pointing to the correct path once deployed. |
I got it somewhat to work by adding this to my nginx.config file:
And moved all the code from application.css into a theme.css file. All the default css code from the Redmine application.css file copied to a file I named default.css. The new application.css file have this inside:
And lastly I moved the fonts folder directly under the themes folder. |
That's a great hack @Grovkillen! But was it not simpler to just redistribute Purplemine assets so that file paths accommodate to Redmine 6 requirements? As not everyone has access or convenience of editing nginx conf... |
Yeah, I just wanted to get my installation working but I do agree that the Redmine team need to think about the way they intend this new structure. |
Just to add. The new Redmine interface uses SVG files for these elements. I had to remove them by adding this to the theme file:
|
Also added these:
|
This is my proxy config, running redmine on sub uri .../redmine on docker. It also needs further tuning like config.ru settings. Not even the purple mine theme is looking as shown above but also the additional themes are broken. I told that to the redmine team before v6 came out but they have not change it, yet.
|
Yes, the Redmine team seems a bit off regarding this. But on the other hand, I haven't found any reports about it. And also, the sub-uri integration isn't very straight forward as you mention @fishermans |
I've found an issue report here: https://www.redmine.org/issues/41754 |
Hi all, |
The reason is that some data are not found by the browser. If you hit F12 in Chrome, you will see that some js / css files are not found. The location for themes and the way how it is handled has changed in v6. As @Grovkillen pointed out there is an issue logged. I did not try it again since I am still on v5.1. Maybe it needs some further modifications to your Apache / nginx configuration if your instance is behind a proxy. I am using nginx and added some lines (see above) to fix the missing data. In short, if all data are found by the browser the icon will appear in the expected size. |
6.0.2 should fix this but I haven't tried it myself since I fixed it by
adding a custom CSS file.
Den fre 3 jan. 2025 21:11fishermans ***@***.***> skrev:
… Hi all, I'm not a programmer myself, but I can ask for external help. But
first I need to understand where the problem of these big icons comes from.
Is this something that can be fixed by modifying the theme repo itself? Or
is it not possible, and redmine maintainers need to change something on
their end first?
The reason is that some data are not found by the browser. If you hit F12
in Chrome, you will see that some js / css files are not found. The
location for themes and the way how it is handled has changed in v6.
As @Grovkillen <https://github.com/Grovkillen> pointed out there is an
issue logged. I did not try it again since I am still on v5.1.
Maybe it needs some further modifications to your Apache / nginx
configuration if your instance is behind a proxy. I am using nginx and
added some lines (see above) to fix the missing data.
In short, if all data are found by the browser the icon will appear in the
expected size.
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLYCYX2GTIM2EZ3IIELACT2I3VF5AVCNFSM6AAAAABRTDE5YOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRZG42TQNBRGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The patch attached to this ticket is only adding some information to the documentation. |
I just run Redmine 6.0.2.stable in docker and I can still see this issue with PurpleMine theme. |
Same pb (with Apache2) ... |
In Redmine version 6.0.0, the current theme appears to be broken.
The text was updated successfully, but these errors were encountered: