BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3162a5a2
Unverified
Commit
3162a5a2
authored
Dec 17, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ux issue with "This issue will be closed automatically" message
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9ede66f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
issues.scss
app/assets/stylesheets/pages/issues.scss
+0
-5
_closed_by_box.html.haml
app/views/projects/issues/_closed_by_box.html.haml
+1
-2
_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+3
-0
show.html.haml
app/views/projects/issues/show.html.haml
+0
-2
No files found.
app/assets/stylesheets/pages/issues.scss
View file @
3162a5a2
...
...
@@ -141,11 +141,6 @@ form.edit-issue {
}
}
.issue-closed-by-widget
{
padding
:
16px
0
;
margin
:
0px
;
}
.issue-form
.select2-container
{
width
:
250px
!
important
;
}
...
...
app/views/projects/issues/_closed_by_box.html.haml
View file @
3162a5a2
.issue-closed-by-widget
=
icon
(
'check'
)
.issue-closed-by-widget.gray-content-block.second-block.white
This issue will be closed automatically when merge request
#{
markdown
(
merge_requests_sentence
(
@closed_by_merge_requests
),
pipeline: :gfm
)
}
is accepted.
app/views/projects/issues/_discussion.html.haml
View file @
3162a5a2
...
...
@@ -8,5 +8,8 @@
.gray-content-block.second-block.oneline-block
=
render
'votes/votes_block'
,
votable:
@issue
-
if
@closed_by_merge_requests
.
present?
=
render
'projects/issues/closed_by_box'
#notes
=
render
'projects/notes/notes_with_form'
app/views/projects/issues/show.html.haml
View file @
3162a5a2
...
...
@@ -54,8 +54,6 @@
.merge-requests
=
render
'merge_requests'
-
if
@closed_by_merge_requests
.
present?
=
render
'projects/issues/closed_by_box'
.issue-discussion
=
render
'projects/issues/discussion'
...
...
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