Comment 3 for bug 517089

Revision history for this message
Alejandro Vidal (mancvso) wrote :

that would help me to catch the idea...

Currently the pages were migrated to Mako (okay, I know) this way, we could detect (somehow) the text direction and change CSS atributes, like
body{
direction:${direction};
text-align:${align}
}

defining in python direction='ltr' | 'rtl', align: (if we are ltr it's left, otherwise right)

but that would be detected somehow.

almost all the layers were migrated to ul and dl, this way when the text-align changes, the orderng will auto-arranged.
Also, the next and prev button are loaded as <img src="../data/next_${direction}.svg" height="24px" width="24px" />

Hope this helps to solve this issue.