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

Merged
merged 1 commit into from Dec 20, 2012

Conversation

Projects
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 %}")
tpl.render(context)
- self.assertEqual(len(context['languages']), 3)
+ self.assertEqual(len(context['languages']), 2)
@pascalmouret

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
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment