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
288724e7
Commit
288724e7
authored
Feb 16, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added back weight icon on issue rows
Closes #1739
parent
506fbc04
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+5
-0
changelogs/unreleased-ee/restored-issue-weight.yml
changelogs/unreleased-ee/restored-issue-weight.yml
+4
-0
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+12
-1
No files found.
app/views/projects/issues/_issue.html.haml
View file @
288724e7
...
...
@@ -41,6 +41,11 @@
%span
.task-status
=
issue
.
task_status
-
if
issue
.
weight
%span
=
icon
(
'balance-scale'
)
=
issue
.
weight
.pull-right.issue-updated-at
%span
updated
#{
time_ago_with_tooltip
(
issue
.
updated_at
,
placement:
'bottom'
,
html_class:
'issue_update_ago'
)
}
changelogs/unreleased-ee/restored-issue-weight.yml
0 → 100644
View file @
288724e7
---
title
:
Added back weight in issue rows on issue list
merge_request
:
author
:
spec/features/issues_spec.rb
View file @
288724e7
...
...
@@ -146,6 +146,17 @@ describe 'Issues', feature: true do
expect
(
page
).
to
have_content
'foobar'
expect
(
page
.
all
(
'.no-comments'
).
first
.
text
).
to
eq
"0"
end
it
'shows weight on issue row'
do
create
(
:issue
,
author:
@user
,
project:
project
,
weight:
2
)
visit
namespace_project_issues_path
(
project
.
namespace
,
project
)
page
.
within
(
first
(
'.issue-info'
))
do
expect
(
page
).
to
have_selector
(
'.fa-balance-scale'
)
expect
(
page
).
to
have_content
(
2
)
end
end
end
describe
'Filter issue'
do
...
...
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