Uh oh!
There was an error while loading. Please reload this page.
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>
mention-bot
commented
Jan 23, 2017
@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. |
skjnldsv
commented
Jan 23, 2017
Works well, but I don't really like the way we do that. Like |
MorrisJobke
commented
Jan 24, 2017
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. |
nickvergessen
commented
Jan 24, 2017
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? |
skjnldsv
commented
Jan 24, 2017
@nickvergessen there is no compilation "all the time" only once or if the original scss file has changed :) |
skjnldsv
commented
Jan 24, 2017
Okay, I see. |
MorrisJobke
commented
Jan 24, 2017
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 ;) |
skjnldsv
commented
Jan 25, 2017
@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. |
ChristophWurst
commented
Jan 30, 2017
nickvergessen
commented
Jan 30, 2017
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. |
skjnldsv
commented
Jan 30, 2017
Will take a look after. |

This type of check is also used some lines above 🙈