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
Jérome Perrin
gitlab-ce
Commits
e6bba9be
Commit
e6bba9be
authored
Oct 15, 2011
by
VSizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icon for handler of sortable
parent
df016465
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
app/assets/images/move.png
app/assets/images/move.png
+0
-0
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+6
-0
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+2
-1
db/migrate/20111015154310_add_position_to_issues.rb
db/migrate/20111015154310_add_position_to_issues.rb
+5
-0
No files found.
app/assets/images/move.png
0 → 100644
View file @
e6bba9be
260 Bytes
app/assets/stylesheets/projects.css.scss
View file @
e6bba9be
...
...
@@ -543,3 +543,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
.handle
:hover
{
cursor
:
move
;
}
.handle
{
width
:
12px
;
height
:
12px
;
padding
:
10px
;
}
app/views/issues/_show.html.haml
View file @
e6bba9be
%tr
{
:id
=>
dom_id
(
issue
),
:class
=>
"issue"
,
:url
=>
project_issue_path
(
@project
,
issue
)
}
%td
=
image_tag
gravatar_icon
(
issue
.
assignee
.
email
),
:class
=>
[
"left"
,
"handle"
],
:width
=>
40
,
:style
=>
"padding:0 5px;"
=
image_tag
"move.png"
,
:class
=>
[
:handle
,
:left
]
=
image_tag
gravatar_icon
(
issue
.
assignee
.
email
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding:0 5px;"
=
truncate
issue
.
assignee
.
name
,
:lenght
=>
20
%td
##{issue.id}
%td
=
html_escape
issue
.
title
...
...
db/migrate/20111015154310_add_position_to_issues.rb
0 → 100644
View file @
e6bba9be
class
AddPositionToIssues
<
ActiveRecord
::
Migration
def
change
add_column
:issues
,
:position
,
:integer
,
:default
=>
0
end
end
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