-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix public page style #3223
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
Fix public page style #3223
Conversation
* checks if the user is on the login page or not instead of check if the user is logged in * fixes #3207 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
@MorrisJobke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LukasReschke, @rullzer and @bartv2 to be potential reviewers. |
|
Works well, but I don't really like the way we do that. Like |
We usually don't want to do that, because it would encourage people to use it that way instead of listening to the "public page hook" and do the stuff in this hook. |
|
Also public page is not the right thing. Public share pages, public calendars and public call pages should all use the compiled version instead of recompiling all the time? |
|
@nickvergessen there is no compilation "all the time" only once or if the original scss file has changed :) |
Okay, I see. |
|
Can we get this in - otherwise the share page is broken. This just fixes the public share page and doesn't affect what is when compiled into CSS ;) |
|
@MorrisJobke Sorry for taking so long, i wanted to test if we could directly pass a variable trough the template generator to exclude the 'addStyle' functions in template.php With that we would have been able to just ignore some css files. |
schiessle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested... works!
|
See https://github.com/nextcloud/notifications/blob/master/lib/AppInfo/Application.php#L58 for help. I don't understand why the page is white thou, it should just not be cached from my pov. |
|
Will take a look after. |

This type of check is also used some lines above 🙈