Thanks for the suggestion. 

As I mentioned the correct branch gets executed.
It must be something with the file names. Probably it gets confused by the 
samename.html.variation naming?

Peter

On Thursday, June 26, 2014 2:30:10 PM UTC+2, Kai Janson wrote:
>
> Did you check the value of "type"?  It might be empty.
>
> Sent from my non-google-device
>
> On Jun 26, 2014, at 7:11, mpeter <[email protected] 
> <javascript:>> wrote:
>
>
>
> Hi,
>
> Back in the good old days it was possible to put something like this into 
> the template and have the included templates in view/music/...
>
> {% if type=="spot" %}
>         bbbbbbbb
>         {% include "music/edit.html.spot" %}
> {% elif type=="control" %}
>         bbbbbbbb
>         {% include "music/edit.html.control" %}
> {% else %}
>         cccccccc
>         {% include "music/edit.html.default" %}
> {% endif %}
>
> After the mongodb connection issue was fixed last day I have upgraded CB 
> and noticed that this no longer works. Specifically, it always includes (in 
> this case) the edit.html.spot even if not the 1st branch runs (so I will 
> see bbb or cccccc in the generated page.
> Is there a way to restore the old behavior?
>
>
> Thank you!
>
> Best,
> Peter
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/chicagoboss/84c28755-8764-436e-8cf7-9dc9e455301e%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/chicagoboss/84c28755-8764-436e-8cf7-9dc9e455301e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/a4fcc7bf-6bb6-4340-afe9-d74a6f2af545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to