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
6c3cd5fa
Commit
6c3cd5fa
authored
Aug 18, 2020
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 4 suggestion(s) to 1 file(s)
parent
7d91c944
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/projects/issues/_issues.html.haml
app/views/projects/issues/_issues.html.haml
+2
-2
app/views/projects/issues/service_desk.html.haml
app/views/projects/issues/service_desk.html.haml
+1
-1
ee/app/views/projects/integrations/jira/issues/index.html.haml
...p/views/projects/integrations/jira/issues/index.html.haml
+1
-1
No files found.
app/views/projects/issues/_issues.html.haml
View file @
6c3cd5fa
-
if
Feature
.
enabled?
(
:vue_issuables_list
,
@project
)
-
if
Feature
.
enabled?
(
:vue_issuables_list
,
@project
)
-
data_endpoint
=
local_assigns
.
fetch
(
:data_endpoint
,
expose_
url
(
api_v4_projects_issues_path
(
id:
@project
.
id
)))
-
data_endpoint
=
local_assigns
.
fetch
(
:data_endpoint
,
expose_
path
(
api_v4_projects_issues_path
(
id:
@project
.
id
)))
-
default_empty_state_meta
=
{
create_issue_path:
expose_url
(
new_project_issue_path
(
@project
)
),
svg_path:
image_path
(
'illustrations/issues.svg'
)
}
-
default_empty_state_meta
=
{
create_issue_path:
new_project_issue_path
(
@project
),
svg_path:
image_path
(
'illustrations/issues.svg'
)
}
-
data_empty_state_meta
=
local_assigns
.
fetch
(
:data_empty_state_meta
,
default_empty_state_meta
)
-
data_empty_state_meta
=
local_assigns
.
fetch
(
:data_empty_state_meta
,
default_empty_state_meta
)
-
type
=
local_assigns
.
fetch
(
:type
,
''
)
-
type
=
local_assigns
.
fetch
(
:type
,
''
)
.js-issuables-list
{
data:
{
endpoint:
data_endpoint
,
.js-issuables-list
{
data:
{
endpoint:
data_endpoint
,
...
...
app/views/projects/issues/service_desk.html.haml
View file @
6c3cd5fa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-
support_bot_attrs
=
{
service_desk_enabled:
@project
.
service_desk_enabled?
,
**
UserSerializer
.
new
.
represent
(
User
.
support_bot
)
}.
to_json
-
support_bot_attrs
=
{
service_desk_enabled:
@project
.
service_desk_enabled?
,
**
UserSerializer
.
new
.
represent
(
User
.
support_bot
)
}.
to_json
-
data_endpoint
=
"
#{
expose_
url
(
api_v4_projects_issues_path
(
id:
@project
.
id
))
}
?author_id=
#{
User
.
support_bot
.
id
}
"
-
data_endpoint
=
"
#{
expose_
path
(
api_v4_projects_issues_path
(
id:
@project
.
id
))
}
?author_id=
#{
User
.
support_bot
.
id
}
"
%div
{
class:
"js-service-desk-issues service-desk-issues"
,
data:
{
support_bot:
support_bot_attrs
,
service_desk_meta:
service_desk_meta
(
@project
)
}
}
%div
{
class:
"js-service-desk-issues service-desk-issues"
,
data:
{
support_bot:
support_bot_attrs
,
service_desk_meta:
service_desk_meta
(
@project
)
}
}
.top-area
.top-area
...
...
ee/app/views/projects/integrations/jira/issues/index.html.haml
View file @
6c3cd5fa
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
=
render
'shared/issuable/nav'
,
type: :issues
,
display_count:
false
=
render
'shared/issuable/nav'
,
type: :issues
,
display_count:
false
=
render
'projects/integrations/jira/issues/nav_btns'
=
render
'projects/integrations/jira/issues/nav_btns'
.js-issuables-list
{
data:
{
endpoint:
expose_path
(
project_integrations_jira_issues_path
(
@project
,
format: :json
)
),
.js-issuables-list
{
data:
{
endpoint:
project_integrations_jira_issues_path
(
@project
,
format: :json
),
'can-bulk-edit'
:
false
,
'can-bulk-edit'
:
false
,
'empty-state-meta'
:
{
svg_path:
image_path
(
'illustrations/issues.svg'
)
},
'empty-state-meta'
:
{
svg_path:
image_path
(
'illustrations/issues.svg'
)
},
'sort-key'
:
@sort
,
'sort-key'
:
@sort
,
...
...
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