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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c9c8b30a
Commit
c9c8b30a
authored
Apr 13, 2021
by
Marvin Karegyeya
Committed by
Ezekiel Kigbo
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize strings in projects/index.html.haml
parent
8e70f39c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+5
-5
changelogs/unreleased/Externalize-strings-in-projects-index-html-haml.yml
...eased/Externalize-strings-in-projects-index-html-haml.yml
+5
-0
No files found.
app/views/admin/projects/index.html.haml
View file @
c9c8b30a
...
@@ -18,20 +18,20 @@
...
@@ -18,20 +18,20 @@
.search-holder
.search-holder
=
render
'shared/projects/search_form'
,
autofocus:
true
,
admin_view:
true
=
render
'shared/projects/search_form'
,
autofocus:
true
,
admin_view:
true
.dropdown
.dropdown
-
toggle_text
=
'Namespace'
-
toggle_text
=
_
(
'Namespace'
)
-
if
params
[
:namespace_id
].
present?
-
if
params
[
:namespace_id
].
present?
=
hidden_field_tag
:namespace_id
,
params
[
:namespace_id
]
=
hidden_field_tag
:namespace_id
,
params
[
:namespace_id
]
-
namespace
=
Namespace
.
find
(
params
[
:namespace_id
])
-
namespace
=
Namespace
.
find
(
params
[
:namespace_id
])
-
toggle_text
=
"
#{
namespace
.
kind
}
:
#{
namespace
.
full_path
}
"
-
toggle_text
=
"
#{
namespace
.
kind
}
:
#{
namespace
.
full_path
}
"
=
dropdown_toggle
(
toggle_text
,
{
toggle:
'dropdown'
,
is_filter:
'true'
},
{
toggle_class:
'js-namespace-select large'
})
=
dropdown_toggle
(
toggle_text
,
{
toggle:
'dropdown'
,
is_filter:
'true'
},
{
toggle_class:
'js-namespace-select large'
})
.dropdown-menu.dropdown-select.dropdown-menu-right
.dropdown-menu.dropdown-select.dropdown-menu-right
=
dropdown_title
(
'Namespaces'
)
=
dropdown_title
(
_
(
'Namespaces'
)
)
=
dropdown_filter
(
"Search for Namespace"
)
=
dropdown_filter
(
_
(
"Search for Namespace"
)
)
=
dropdown_content
=
dropdown_content
=
dropdown_loading
=
dropdown_loading
=
render
'shared/projects/dropdown'
=
render
'shared/projects/dropdown'
=
link_to
new_project_path
,
class:
'gl-button btn btn-confirm'
do
=
link_to
new_project_path
,
class:
'gl-button btn btn-confirm'
do
New Project
=
_
(
'New Project'
)
=
button_tag
"Search"
,
class:
"gl-button btn btn-confirm btn-search hide"
=
button_tag
_
(
"Search"
)
,
class:
"gl-button btn btn-confirm btn-search hide"
=
render
'projects'
=
render
'projects'
changelogs/unreleased/Externalize-strings-in-projects-index-html-haml.yml
0 → 100644
View file @
c9c8b30a
---
title
:
Externalize strings in projects/index.html.haml
merge_request
:
58160
author
:
nuwe1
type
:
other
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