make non-public langs visble in frontend for staff #1567

merged 1 commit into from Dec 20, 2012


None yet
2 participants

Tests run through, but not sure if there are some other places where code has to be changed.

@@ -272,7 +272,7 @@ def test_language_chooser(self):
context = self.get_context(path=self.get_page(3).get_absolute_url())
tpl = Template("{% load menu_tags %}{% language_chooser %}")
- self.assertEqual(len(context['languages']), 3)
+ self.assertEqual(len(context['languages']), 2)

pascalmouret Dec 20, 2012

since I set a language to public: False

digi604 added a commit that referenced this pull request Dec 20, 2012

Merge pull request #1567 from pascalmouret/feature/frontend-lang
make non-public langs visble in frontend for staff

@digi604 digi604 merged commit 654b666 into divio:develop Dec 20, 2012

1 check passed

default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment