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
Boxiang Sun
gitlab-ce
Commits
f67c2ead
Commit
f67c2ead
authored
Sep 22, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't show it if there's no project.
This is aligning with EE
parent
408c5952
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+8
-7
No files found.
app/views/shared/boards/_show.html.haml
View file @
f67c2ead
...
@@ -31,10 +31,11 @@
...
@@ -31,10 +31,11 @@
":board-id"
=>
"boardId"
,
":board-id"
=>
"boardId"
,
":key"
=>
"_uid"
}
":key"
=>
"_uid"
}
=
render
"shared/boards/components/sidebar"
=
render
"shared/boards/components/sidebar"
-
if
@project
%board-add-issues-modal
{
"new-issue-path"
=>
new_project_issue_path
(
@project
),
%board-add-issues-modal
{
"new-issue-path"
=>
new_project_issue_path
(
@project
),
"milestone-path"
=>
milestones_filter_dropdown_path
,
"milestone-path"
=>
milestones_filter_dropdown_path
,
"label-path"
=>
labels_filter_path
,
"label-path"
=>
labels_filter_path
,
"empty-state-svg"
=>
image_path
(
'illustrations/issues.svg'
),
"empty-state-svg"
=>
image_path
(
'illustrations/issues.svg'
),
":issue-link-base"
=>
"issueLinkBase"
,
":issue-link-base"
=>
"issueLinkBase"
,
":root-path"
=>
"rootPath"
,
":root-path"
=>
"rootPath"
,
":project-id"
=>
@project
.
try
(
:id
)
}
":project-id"
=>
@project
.
id
}
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