Commit adc34e1c authored by Tim Zallmann's avatar Tim Zallmann Committed by Phil Hughes

Rename Personal Audit Log

parent e407279f
......@@ -19,6 +19,8 @@ module IconsHelper
case names
when "standard"
names = "key"
when "two-factor"
names = "key"
end
options.include?(:base) ? fa_stacked_icon(names, options) : fa_icon(names, options)
......
......@@ -48,6 +48,6 @@
%span
Preferences
= nav_link(path: 'profiles#audit_log') do
= link_to audit_log_profile_path, title: 'Audit Log' do
= link_to audit_log_profile_path, title: 'Authentication log' do
%span
Audit Log
Authentication log
......@@ -9,7 +9,6 @@
Signed in with
= event.details[:with]
authentication
%span.pull-right
#{time_ago_in_words event.created_at} ago
%span.pull-right= time_ago_with_tooltip(event.created_at)
= paginate events, theme: "gitlab"
- page_title "Audit Log"
- page_title "Authentication log"
= render 'profiles/head'
.row.prepend-top-default
......
---
title: Renamed users 'Audit Log'' to 'Authentication Log'
merge_request: 11400
author:
......@@ -23,7 +23,7 @@ Feature: Profile Active Tab
Then the active main tab should be Preferences
And no other main tabs should be active
Scenario: On Profile Audit Log
Given I visit Audit Log page
Then the active main tab should be Audit Log
Scenario: On Profile Authentication log
Given I visit Authentication log page
Then the active main tab should be Authentication log
And no other main tabs should be active
......@@ -63,7 +63,7 @@ Feature: Profile
Given I logout
And I sign in via the UI
And I have activity
When I visit Audit Log page
When I visit Authentication log page
Then I should see my activity
Scenario: I visit my user page
......
......@@ -19,7 +19,7 @@ class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
ensure_active_main_tab('Preferences')
end
step 'the active main tab should be Audit Log' do
ensure_active_main_tab('Audit Log')
step 'the active main tab should be Authentication log' do
ensure_active_main_tab('Authentication log')
end
end
......@@ -152,7 +152,7 @@ module SharedPaths
visit profile_preferences_path
end
step 'I visit Audit Log page' do
step 'I visit Authentication log page' do
visit audit_log_profile_path
end
......
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