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
Léo-Paul Géneau
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
%h5
.prepend-top-0
History of authentications
=
_
(
'History of authentications'
)
%ul
.content-list
%ul
.content-list
-
events
.
each
do
|
event
|
-
events
.
each
do
|
event
|
%li
%li
%span
.description
%span
.description
=
audit_icon
(
event
.
details
[
:with
],
class:
"append-right-5"
)
=
audit_icon
(
event
.
details
[
:with
],
class:
"append-right-5"
)
Signed in with
=
_
(
'Signed in with %{authentication} authentication'
)
%
{
authentication:
event
.
details
[
:with
]}
=
event
.
details
[
:with
]
authentication
%span
.float-right
=
time_ago_with_tooltip
(
event
.
created_at
)
%span
.float-right
=
time_ago_with_tooltip
(
event
.
created_at
)
=
paginate
events
,
theme:
"gitlab"
=
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
-
@content_class
=
"limit-container-width"
unless
fluid_layout
.row.prepend-top-default
.row.prepend-top-default
...
@@ -6,6 +6,6 @@
...
@@ -6,6 +6,6 @@
%h4
.prepend-top-0
%h4
.prepend-top-0
=
page_title
=
page_title
%p
%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
.col-lg-8
=
render
'event_table'
,
events:
@events
=
render
'event_table'
,
events:
@events
locale/gitlab.pot
View file @
cdb9ce4d
...
@@ -4934,6 +4934,9 @@ msgstr ""
...
@@ -4934,6 +4934,9 @@ msgstr ""
msgid "History"
msgid "History"
msgstr ""
msgstr ""
msgid "History of authentications"
msgstr ""
msgid "Hook was successfully created."
msgid "Hook was successfully created."
msgstr ""
msgstr ""
...
@@ -8872,6 +8875,9 @@ msgstr ""
...
@@ -8872,6 +8875,9 @@ msgstr ""
msgid "Sign-up restrictions"
msgid "Sign-up restrictions"
msgstr ""
msgstr ""
msgid "Signed in with %{authentication} authentication"
msgstr ""
msgid "Signing in using %{label} has been disabled"
msgid "Signing in using %{label} has been disabled"
msgstr ""
msgstr ""
...
@@ -9906,6 +9912,9 @@ msgstr ""
...
@@ -9906,6 +9912,9 @@ msgstr ""
msgid "This is a delayed job to run in %{remainingTime}"
msgid "This is a delayed job to run in %{remainingTime}"
msgstr ""
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."
msgid "This is the author's first Merge Request to this project."
msgstr ""
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