Skip to content

Commit

Permalink
fix bug 782952 - Make translation screens RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Aug 23, 2012
1 parent 1b7455a commit 9a33492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/wiki/templates/wiki/translate.html
Expand Up @@ -7,6 +7,7 @@
{% set crumbs = [(url('wiki.category', parent.category), parent.get_category_display()),
(parent.get_absolute_url(), parent.title),
(None, _('Translate Article'))] %}
{% set DIR = ('rtl' if (locale.lower() in settings.RTL_LANGUAGES) else 'ltr') %}
{% block bodyclass%}translate{% endblock %}

{% block content %}
Expand Down
9 changes: 8 additions & 1 deletion media/css/wiki-screen.css
Expand Up @@ -612,7 +612,12 @@ tr.release td.stepLabel { padding: 0 5px 15px 25px; width: 12%; text-align: righ
.html-rtl #site-info #legal,
.html-rtl .deki-pagination div,
.html-rtl .pagination span,
.html-rtl .deki-pagination div.info {
.html-rtl .deki-pagination div.info,
.html-rtl #content-fields .approved,
.html-rtl .description .approved,
.html-rtl .editing .title,
.html-rtl .change-locale,
.html-rtl .editing .title h1 {
float: right;
}

Expand Down Expand Up @@ -649,3 +654,5 @@ tr.release td.stepLabel { padding: 0 5px 15px 25px; width: 12%; text-align: righ
.html-rtl .deki-pagination .next a:after, .html-rtl .pagination .next a:after { content: ""; }
.html-rtl .deki-pagination .prev a:after, .html-rtl .pagination .prev a:after { content: "\00A0\00BB"; font-size: 1.1em; } /* space laquo */
.html-rtl .deki-pagination .next a:before, .html-rtl .pagination .next a:before { content: "\00AB\00A0"; font-size: 1.1em; } /* raquo space */

.html-rtl .change-locale { clear: right; }

0 comments on commit 9a33492

Please sign in to comment.