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
1e85d70d
Commit
1e85d70d
authored
Dec 12, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds i18n for empty state
parent
103a5bcc
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
287 additions
and
144 deletions
+287
-144
ee/app/views/projects/issues/_service_desk_info_content.html.haml
...iews/projects/issues/_service_desk_info_content.html.haml
+5
-5
locale/gitlab.pot
locale/gitlab.pot
+282
-139
No files found.
ee/app/views/projects/issues/_service_desk_info_content.html.haml
View file @
1e85d70d
...
...
@@ -4,7 +4,7 @@
-
callout_selector
=
is_empty_state
?
'empty-state'
:
'non-empty-state media'
-
svg_path
=
!
is_empty_state
?
'shared/empty_states/icons/service_desk_callout.svg'
:
'shared/empty_states/icons/service_desk_empty_state.svg'
-
can_edit_project_settings
=
can?
(
current_user
,
:admin_project
,
@project
)
-
title_text
=
"Use Service Desk to connect with your users (e.g. to offer customer support) through email right inside GitLab"
-
title_text
=
_
(
"Use Service Desk to connect with your users (e.g. to offer customer support) through email right inside GitLab"
)
%div
{
class:
"#{callout_selector}"
}
.svg-content
...
...
@@ -18,12 +18,12 @@
-
if
service_desk_enabled
%p
Have your users email
=
_
(
"Have your users email"
)
%code
=
@project
.
service_desk_address
%span
Those emails automatically become issues (with the comments becoming the email conversation) listed here.
=
link_to
'Read more'
,
help_page_path
(
'user/project/service_desk'
)
%span
=
_
(
"Those emails automatically become issues (with the comments becoming the email conversation) listed here."
)
=
link_to
_
(
'Read more'
)
,
help_page_path
(
'user/project/service_desk'
)
-
if
can_edit_project_settings
&&
!
service_desk_enabled
%div
{
class:
is_empty_state
?
"text-center"
:
"prepend-top-10"
}
=
link_to
"Turn on Service Desk"
,
edit_project_path
(
@project
),
class:
'btn btn-success'
=
link_to
_
(
"Turn on Service Desk"
)
,
edit_project_path
(
@project
),
class:
'btn btn-success'
locale/gitlab.pot
View file @
1e85d70d
This diff is collapsed.
Click to expand it.
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