summaryrefslogtreecommitdiff
path: root/app/views/projects/_last_push.html.haml
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2017-08-18 10:00:32 +0000
committerPhil Hughes <me@iamphill.com>2017-08-18 10:00:32 +0000
commitee42bfbe88d449619255f1cca008d86c937296f8 (patch)
tree07bf974c2b80bbec86b7d9b28b3176b511377059 /app/views/projects/_last_push.html.haml
parent934342de7876b3f3bdde7c919a36ae0fcf735f38 (diff)
downloadgitlab-ce-ee42bfbe88d449619255f1cca008d86c937296f8.tar.gz
Add support for i18n on Project Activity Page
Diffstat (limited to 'app/views/projects/_last_push.html.haml')
-rw-r--r--app/views/projects/_last_push.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/_last_push.html.haml b/app/views/projects/_last_push.html.haml
index 1a71bfca2e2..56eecece54c 100644
--- a/app/views/projects/_last_push.html.haml
+++ b/app/views/projects/_last_push.html.haml
@@ -3,16 +3,16 @@
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
- %span You pushed to
+ %span= s_("LastPushEvent|You pushed to")
%strong
= link_to event.ref_name, project_commits_path(event.project, event.ref_name), class: 'ref-name'
- if event.project != @project
- %span at
+ %span= s_("LastPushEvent|at")
%strong= link_to_project event.project
#{time_ago_with_tooltip(event.created_at)}
.pull-right
- = link_to new_mr_path_from_push_event(event), title: "New merge request", class: "btn btn-info btn-sm" do
+ = link_to new_mr_path_from_push_event(event), title: _("New merge request"), class: "btn btn-info btn-sm" do
#{ _('Create merge request') }