Commit 56565a0b authored by Sacred Seven's avatar Sacred Seven

#3 Added css to the notify (mailer) views for RTL support

parent 3913f247
%div %div
= markdown(@note.note) = markdown(@note.note)
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -8,3 +8,8 @@ ...@@ -8,3 +8,8 @@
%strong{ dir: :auto } #{issuable.assignee_name} %strong{ dir: :auto } #{issuable.assignee_name}
- else - else
%strong Unassigned %strong Unassigned
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
%p %p
= "Issue was closed by " = "Issue was closed by "
%span{ dir: :auto }= @updated_by.name %span{ dir: :auto }= @updated_by.name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
%p %p
= "Merge Request ##{@merge_request.iid} was closed by " = "Merge Request ##{@merge_request.iid} was closed by "
%span{ dir: :auto }= @updated_by.name %span{ dir: :auto }= @updated_by.name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -2,3 +2,8 @@ ...@@ -2,3 +2,8 @@
= "You have been granted #{@membership.human_access} access to group" = "You have been granted #{@membership.human_access} access to group"
= link_to group_url(@group) do = link_to group_url(@group) do
%span{ dir: :auto }= @group.name %span{ dir: :auto }= @group.name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
%p %p
= "Issue was #{@issue_status} by " = "Issue was #{@issue_status} by "
%span{ dir: :auto }= @updated_by.name %span{ dir: :auto }= @updated_by.name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
%p %p
= "Merge Request ##{@merge_request.iid} was #{@mr_status} by " = "Merge Request ##{@merge_request.iid} was #{@mr_status} by "
%span{ dir: :auto }= @updated_by.name %span{ dir: :auto }= @updated_by.name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -10,3 +10,8 @@ ...@@ -10,3 +10,8 @@
%p %p
If this email was added in error, you can remove it here: If this email was added in error, you can remove it here:
= link_to "Emails", profile_emails_url = link_to "Emails", profile_emails_url
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -5,3 +5,8 @@ ...@@ -5,3 +5,8 @@
%p %p
Assignee: Assignee:
%span= @issue.assignee_name %span= @issue.assignee_name
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -10,3 +10,8 @@ ...@@ -10,3 +10,8 @@
-if @merge_request.description -if @merge_request.description
= markdown(@merge_request.description) = markdown(@merge_request.description)
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -10,3 +10,8 @@ ...@@ -10,3 +10,8 @@
%p %p
If this key was added in error, you can remove it under If this key was added in error, you can remove it under
= link_to "SSH Keys", profile_keys_url = link_to "SSH Keys", profile_keys_url
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -14,3 +14,8 @@ ...@@ -14,3 +14,8 @@
- if @user.created_by_id - if @user.created_by_id
%p %p
= link_to "Click here to set your password", edit_password_url(@user, :reset_password_token => @token) = link_to "Click here to set your password", edit_password_url(@user, :reset_password_token => @token)
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -3,3 +3,8 @@ ...@@ -3,3 +3,8 @@
%p %p
= link_to project_url(@project) do = link_to project_url(@project) do
%span{ dir: :auto }= @project.name_with_namespace %span{ dir: :auto }= @project.name_with_namespace
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -13,3 +13,8 @@ ...@@ -13,3 +13,8 @@
%p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" } %p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" }
git remote set-url origin #{@project.http_url_to_repo} git remote set-url origin #{@project.http_url_to_repo}
%br %br
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
...@@ -26,3 +26,8 @@ ...@@ -26,3 +26,8 @@
- if @compare.timeout - if @compare.timeout
%h5 Huge diff. To prevent performance issues changes are hidden %h5 Huge diff. To prevent performance issues changes are hidden
:css
*[dir='auto'] {
font-family: 'Tahoma' !important;
text-align: start !important;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment