Skip to content
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

Use the default_theme value from the login #1709

Merged
merged 1 commit into from
Sep 14, 2016

Conversation

fredj
Copy link
Member

@fredj fredj commented Aug 17, 2016

fixes #654

@ger-benjamin
Copy link
Member

Do you have time today to rebase this PR then provide an example ? (I'm supposed to review this PR)

// currentTheme = gmf.Themes.findThemeByName(this.themes, this.defaultTheme);
// }

// this.setTheme(/** @type {GmfThemesNode} */ (currentTheme), true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we remove this commented code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still in "work in progress" ...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok :-)

@fredj
Copy link
Member Author

fredj commented Aug 25, 2016

It can't be tested because this pull request depends on camptocamp/c2cgeoportal#2456 and geomapfish-demo.camptocamp.net is not yet updated

@sbrunner
Copy link
Member

sbrunner commented Sep 8, 2016

Demo updated :-)

And check the user functionalities from a 'default_theme'
@fredj
Copy link
Member Author

fredj commented Sep 13, 2016

@sbrunner still no default_theme in https://geomapfish-demo.camptocamp.net/2.1/wsgi/loginuser (admin or anonymous)

@fredj fredj changed the title [wip] Use the default_theme value from the login Use the default_theme value from the login Sep 13, 2016
@fredj
Copy link
Member Author

fredj commented Sep 13, 2016

But we can merge and check later with the demo

@fredj
Copy link
Member Author

fredj commented Sep 13, 2016

@sbrunner ready to be reviewed

@fredj
Copy link
Member Author

fredj commented Sep 14, 2016

ping @sbrunner

@sbrunner
Copy link
Member

For me that's looks good :-)

@fredj
Copy link
Member Author

fredj commented Sep 14, 2016

Thanks for the review

@fredj fredj merged commit 221b2c9 into camptocamp:master Sep 14, 2016
@fredj fredj deleted the default_theme branch September 14, 2016 13:08
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set default theme in mobile / desktop apps
3 participants