summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSacred Seven <sacred.seven@yahoo.com>2015-01-21 15:14:20 +0330
committerSacred Seven <sacred.seven@yahoo.com>2015-01-21 15:14:20 +0330
commit56565a0bb5db71ccbd11f534db63561d0d6539f4 (patch)
tree922ad32e5e76955a6da8e8fc41e19be92d14e8d7
parent3913f247b1cc34d7b013b8be7d784f6ff193f6cf (diff)
downloadgitlab-ce-56565a0bb5db71ccbd11f534db63561d0d6539f4.tar.gz
#3 Added css to the notify (mailer) views for RTL support
-rw-r--r--app/views/notify/_note_message.html.haml5
-rw-r--r--app/views/notify/_reassigned_issuable_email.html.haml5
-rw-r--r--app/views/notify/closed_issue_email.html.haml5
-rw-r--r--app/views/notify/closed_merge_request_email.html.haml5
-rw-r--r--app/views/notify/group_access_granted_email.html.haml5
-rw-r--r--app/views/notify/issue_status_changed_email.html.haml5
-rw-r--r--app/views/notify/merge_request_status_email.html.haml5
-rw-r--r--app/views/notify/new_email_email.html.haml5
-rw-r--r--app/views/notify/new_issue_email.html.haml5
-rw-r--r--app/views/notify/new_merge_request_email.html.haml5
-rw-r--r--app/views/notify/new_ssh_key_email.html.haml5
-rw-r--r--app/views/notify/new_user_email.html.haml5
-rw-r--r--app/views/notify/project_access_granted_email.html.haml5
-rw-r--r--app/views/notify/project_was_moved_email.html.haml5
-rw-r--r--app/views/notify/repository_push_email.html.haml5
15 files changed, 75 insertions, 0 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml
index 5272dfa0ede..4d34d1af1e1 100644
--- a/app/views/notify/_note_message.html.haml
+++ b/app/views/notify/_note_message.html.haml
@@ -1,2 +1,7 @@
%div
= markdown(@note.note)
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/_reassigned_issuable_email.html.haml b/app/views/notify/_reassigned_issuable_email.html.haml
index 23756574384..0318750b46f 100644
--- a/app/views/notify/_reassigned_issuable_email.html.haml
+++ b/app/views/notify/_reassigned_issuable_email.html.haml
@@ -8,3 +8,8 @@
%strong{ dir: :auto } #{issuable.assignee_name}
- else
%strong Unassigned
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/closed_issue_email.html.haml b/app/views/notify/closed_issue_email.html.haml
index b0d89958ec4..e64d9275a38 100644
--- a/app/views/notify/closed_issue_email.html.haml
+++ b/app/views/notify/closed_issue_email.html.haml
@@ -1,3 +1,8 @@
%p
= "Issue was closed by "
%span{ dir: :auto }= @updated_by.name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/closed_merge_request_email.html.haml b/app/views/notify/closed_merge_request_email.html.haml
index c8b2700c7e8..1651137835b 100644
--- a/app/views/notify/closed_merge_request_email.html.haml
+++ b/app/views/notify/closed_merge_request_email.html.haml
@@ -1,3 +1,8 @@
%p
= "Merge Request ##{@merge_request.iid} was closed by "
%span{ dir: :auto }= @updated_by.name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/group_access_granted_email.html.haml b/app/views/notify/group_access_granted_email.html.haml
index 2c8d7a3acfd..0db00270df7 100644
--- a/app/views/notify/group_access_granted_email.html.haml
+++ b/app/views/notify/group_access_granted_email.html.haml
@@ -2,3 +2,8 @@
= "You have been granted #{@membership.human_access} access to group"
= link_to group_url(@group) do
%span{ dir: :auto }= @group.name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/issue_status_changed_email.html.haml b/app/views/notify/issue_status_changed_email.html.haml
index b4555e8e90f..03abc84fe7c 100644
--- a/app/views/notify/issue_status_changed_email.html.haml
+++ b/app/views/notify/issue_status_changed_email.html.haml
@@ -1,3 +1,8 @@
%p
= "Issue was #{@issue_status} by "
%span{ dir: :auto }= @updated_by.name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/merge_request_status_email.html.haml b/app/views/notify/merge_request_status_email.html.haml
index 646a1be66f0..8264234ecc8 100644
--- a/app/views/notify/merge_request_status_email.html.haml
+++ b/app/views/notify/merge_request_status_email.html.haml
@@ -1,3 +1,8 @@
%p
= "Merge Request ##{@merge_request.iid} was #{@mr_status} by "
%span{ dir: :auto }= @updated_by.name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/new_email_email.html.haml b/app/views/notify/new_email_email.html.haml
index 55d80c6dd38..a28dbf75b05 100644
--- a/app/views/notify/new_email_email.html.haml
+++ b/app/views/notify/new_email_email.html.haml
@@ -10,3 +10,8 @@
%p
If this email was added in error, you can remove it here:
= link_to "Emails", profile_emails_url
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/new_issue_email.html.haml b/app/views/notify/new_issue_email.html.haml
index f3637ef1c2a..e48d9f3401b 100644
--- a/app/views/notify/new_issue_email.html.haml
+++ b/app/views/notify/new_issue_email.html.haml
@@ -5,3 +5,8 @@
%p
Assignee:
%span= @issue.assignee_name
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/new_merge_request_email.html.haml b/app/views/notify/new_merge_request_email.html.haml
index fe1bd3444bb..6b8f28cf321 100644
--- a/app/views/notify/new_merge_request_email.html.haml
+++ b/app/views/notify/new_merge_request_email.html.haml
@@ -10,3 +10,8 @@
-if @merge_request.description
= markdown(@merge_request.description)
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/new_ssh_key_email.html.haml b/app/views/notify/new_ssh_key_email.html.haml
index 2b10e89e558..3c562920ca9 100644
--- a/app/views/notify/new_ssh_key_email.html.haml
+++ b/app/views/notify/new_ssh_key_email.html.haml
@@ -10,3 +10,8 @@
%p
If this key was added in error, you can remove it under
= link_to "SSH Keys", profile_keys_url
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/new_user_email.html.haml b/app/views/notify/new_user_email.html.haml
index f3d9b1a7474..f73ac8cf87c 100644
--- a/app/views/notify/new_user_email.html.haml
+++ b/app/views/notify/new_user_email.html.haml
@@ -14,3 +14,8 @@
- if @user.created_by_id
%p
= 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;
+ }
diff --git a/app/views/notify/project_access_granted_email.html.haml b/app/views/notify/project_access_granted_email.html.haml
index 54caf699524..86341f073d8 100644
--- a/app/views/notify/project_access_granted_email.html.haml
+++ b/app/views/notify/project_access_granted_email.html.haml
@@ -3,3 +3,8 @@
%p
= link_to project_url(@project) do
%span{ dir: :auto }= @project.name_with_namespace
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/project_was_moved_email.html.haml b/app/views/notify/project_was_moved_email.html.haml
index 786a9d0e17a..562f5032628 100644
--- a/app/views/notify/project_was_moved_email.html.haml
+++ b/app/views/notify/project_was_moved_email.html.haml
@@ -13,3 +13,8 @@
%p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" }
git remote set-url origin #{@project.http_url_to_repo}
%br
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml
index 3cf50bf0826..9e5287c1b33 100644
--- a/app/views/notify/repository_push_email.html.haml
+++ b/app/views/notify/repository_push_email.html.haml
@@ -26,3 +26,8 @@
- if @compare.timeout
%h5 Huge diff. To prevent performance issues changes are hidden
+:css
+ *[dir='auto'] {
+ font-family: 'Tahoma' !important;
+ text-align: start !important;
+ }