Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
cdb9ce4d
Commit
cdb9ce4d
authored
May 28, 2019
by
antony liu
Committed by
Bob Van Landuyt
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize stirngs of Authentication log page in user profile
parent
c7fc58bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
app/views/profiles/_event_table.html.haml
app/views/profiles/_event_table.html.haml
+2
-4
app/views/profiles/audit_log.html.haml
app/views/profiles/audit_log.html.haml
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+9
-0
No files found.
app/views/profiles/_event_table.html.haml
View file @
cdb9ce4d
%h5
.prepend-top-0
History of authentications
=
_
(
'History of authentications'
)
%ul
.content-list
-
events
.
each
do
|
event
|
%li
%span
.description
=
audit_icon
(
event
.
details
[
:with
],
class:
"append-right-5"
)
Signed in with
=
event
.
details
[
:with
]
authentication
=
_
(
'Signed in with %{authentication} authentication'
)
%
{
authentication:
event
.
details
[
:with
]}
%span
.float-right
=
time_ago_with_tooltip
(
event
.
created_at
)
=
paginate
events
,
theme:
"gitlab"
app/views/profiles/audit_log.html.haml
View file @
cdb9ce4d
-
page_title
"Authentication log"
-
page_title
_
(
'Authentication log'
)
-
@content_class
=
"limit-container-width"
unless
fluid_layout
.row.prepend-top-default
...
...
@@ -6,6 +6,6 @@
%h4
.prepend-top-0
=
page_title
%p
This is a security log of important events involving your account.
=
_
(
'This is a security log of important events involving your account.'
)
.col-lg-8
=
render
'event_table'
,
events:
@events
locale/gitlab.pot
View file @
cdb9ce4d
...
...
@@ -4934,6 +4934,9 @@ msgstr ""
msgid "History"
msgstr ""
msgid "History of authentications"
msgstr ""
msgid "Hook was successfully created."
msgstr ""
...
...
@@ -8872,6 +8875,9 @@ msgstr ""
msgid "Sign-up restrictions"
msgstr ""
msgid "Signed in with %{authentication} authentication"
msgstr ""
msgid "Signing in using %{label} has been disabled"
msgstr ""
...
...
@@ -9906,6 +9912,9 @@ msgstr ""
msgid "This is a delayed job to run in %{remainingTime}"
msgstr ""
msgid "This is a security log of important events involving your account."
msgstr ""
msgid "This is the author's first Merge Request to this project."
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment