summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorAhmad Haghighi <haghighi.ahmad@gmail.com>2019-04-25 11:40:34 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-04-25 11:40:34 +0000
commitea1f01811455bab47ad687b34d711b00da75719b (patch)
tree6818de400388aef65dcc68133d2b7d96661fffc1 /app/views/events
parent700976d0651e179f1f0373b27263bac7145ef7dc (diff)
downloadgitlab-ce-ea1f01811455bab47ad687b34d711b00da75719b.tar.gz
Add auto direction to support rtl languages
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/event/_common.html.haml3
-rw-r--r--app/views/events/event/_note.html.haml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml
index 96d6553a2ac..b02fdb4b638 100644
--- a/app/views/events/event/_common.html.haml
+++ b/app/views/events/event/_common.html.haml
@@ -11,7 +11,8 @@
= link_to [event.project.namespace.becomes(Namespace), event.project, event.target], class: 'has-tooltip event-target-link append-right-4', title: event.target_title do
= event.target.reference_link_text
- unless event.milestone?
- %span.event-target-title.append-right-4= "&quot;".html_safe + event.target.title + "&quot".html_safe
+ %span.event-target-title.append-right-4{ dir: "auto" }
+ = "&quot;".html_safe + event.target.title + "&quot".html_safe
- else
%span.event-type.d-inline-block.append-right-4{ class: event.action_name }
= event_action_name(event)
diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml
index 90ed8e41d32..7e2103287f7 100644
--- a/app/views/events/event/_note.html.haml
+++ b/app/views/events/event/_note.html.haml
@@ -7,7 +7,8 @@
%span.event-type.d-inline-block.append-right-4{ class: event.action_name }
= event.action_name
= event_note_title_html(event)
- %span.event-target-title.append-right-4= "&quot;".html_safe + event.target.title + "&quot".html_safe
+ %span.event-target-title.append-right-4{ dir: "auto" }
+ = "&quot;".html_safe + event.target.title + "&quot".html_safe
= render "events/event_scope", event: event