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
Tatuya Kamada
gitlab-ce
Commits
69b5c92e
Commit
69b5c92e
authored
Jul 26, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicated issues partial and two cases need the button:
For both having existing issues and having no issues.
parent
b04f95a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app/views/projects/issues/index.html.haml
app/views/projects/issues/index.html.haml
+10
-10
No files found.
app/views/projects/issues/index.html.haml
View file @
69b5c92e
...
...
@@ -25,6 +25,11 @@
.issues-holder
=
render
"issues"
-
if
new_issue_email
.issues-footer.text-center
%button
.issue-email-modal-btn
{
type:
"button"
,
data:
{
toggle:
"modal"
,
target:
"#issue-email-modal"
}
}
Email a new issue to this project
=
render
"issue_by_email"
,
email:
new_issue_email
-
else
.blank-state.blank-state-welcome
%h2
.blank-state-title.blank-state-welcome-title
...
...
@@ -41,13 +46,8 @@
-
if
can?
current_user
,
:create_issue
,
@project
=
link_to
new_namespace_project_issue_path
(
@project
.
namespace
,
@project
),
class:
"btn btn-new"
,
title:
"New Issue"
,
id:
"new_issue_link"
do
New Issue
=
render
'shared/issuable/filter'
,
type: :issues
.issues-holder
=
render
"issues"
-
if
new_issue_email
.issues-footer.text-center
%button
.issue-email-modal-btn
{
type:
"button"
,
data:
{
toggle:
"modal"
,
target:
"#issue-email-modal"
}
}
Email a new issue to this project
=
render
"issue_by_email"
,
email:
new_issue_email
-
if
new_issue_email
.issues-footer.text-center
%button
.issue-email-modal-btn
{
type:
"button"
,
data:
{
toggle:
"modal"
,
target:
"#issue-email-modal"
}
}
Email a new issue to this project
=
render
"issue_by_email"
,
email:
new_issue_email
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