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
a6db3bcc
Commit
a6db3bcc
authored
Aug 30, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded is_empty_state declaration.
parent
0fb030de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ee/app/views/projects/issues/service_desk.html.haml
ee/app/views/projects/issues/service_desk.html.haml
+1
-2
No files found.
ee/app/views/projects/issues/service_desk.html.haml
View file @
a6db3bcc
...
...
@@ -15,7 +15,6 @@
=
render
"projects/issues/nav_btns"
,
show_export_button:
false
,
show_rss_button:
false
-
support_bot_attrs
=
User
.
support_bot
.
to_json
(
only:
[
:id
,
:name
,
:username
,
:avatar_url
])
-
is_empty_state
=
!
@issues
.
present?
%div
{
class:
"#{container_class} service-desk-issues"
,
data:
{
support_bot:
support_bot_attrs
}}
.top-area
...
...
@@ -24,7 +23,7 @@
=
render
"projects/issues/nav_btns"
,
show_export_button:
false
,
show_rss_button:
false
=
render
'shared/issuable/search_bar'
,
type: :issues
-
if
!
is_empty_state
-
if
@issues
.
present?
=
render
'service_desk_info_content'
.issues-holder
...
...
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