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
Léo-Paul Géneau
gitlab-ce
Commits
e8261313
Commit
e8261313
authored
Jul 28, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed firefox css bug with issues table
parent
058b71ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
15 deletions
+42
-15
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+32
-6
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+3
-2
app/views/issues/index.html.haml
app/views/issues/index.html.haml
+7
-7
No files found.
app/assets/stylesheets/sections/issues.scss
View file @
e8261313
...
...
@@ -51,25 +51,51 @@
input
.check_all_issues
{
float
:left
;
padding
:
8px
0
;
margin
:
14px
0
;
padding
:
0
;
margin
:
0
;
margin-right
:
10px
;
position
:
relative
;
top
:
8px
;
height
:
22px
;
}
.issues_content
{
.title
{
height
:
40px
;
}
}
#issues-table-holder
{
.issues_filters
{
form
{
padding
:
0
;
margin
:
0
;
margin-top
:
7px
}
}
.issues_bulk_update
{
padding
:
0
5px
;
margin
:
0
;
form
{
padding
:
0
;
margin
:
0
;
padding-bottom
:
5px
;
margin-top
:
7px
}
.update_selected_issues
{
position
:relative
;
top
:
-2px
;
margin-left
:
3px
;
margin-left
:
4px
;
float
:left
;
}
.update_issues_text
{
padding
:
3px
;
line-height
:
18px
;
float
:left
;
}
}
}
#update_status
{
width
:
100px
;
}
app/views/issues/_show.html.haml
View file @
e8261313
%li
.wll
{
:id
=>
dom_id
(
issue
),
:class
=>
issue_css_classes
(
issue
),
:url
=>
project_issue_path
(
issue
.
project
,
issue
)
}
.issue_check
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
:class
=>
"selected_issue"
,
:disabled
=>
!
can?
(
current_user
,
:modify_issue
,
issue
)
-
if
controller
.
controller_name
==
'issues'
.issue_check
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
:class
=>
"selected_issue"
,
:disabled
=>
!
can?
(
current_user
,
:modify_issue
,
issue
)
.right
-
issue
.
labels
.
each
do
|
label
|
%span
.label.label-issue.grouped
...
...
app/views/issues/index.html.haml
View file @
e8261313
...
...
@@ -22,13 +22,13 @@
.issues_bulk_update.hide
=
form_tag
bulk_update_project_issues_path
(
@project
),
:method
=>
:post
do
%span
Update selected issues with
=
select_tag
(
'update[status]'
,
options_for_select
([
'open'
,
'closed'
]),
:prompt
=>
"Status"
)
=
select_tag
(
'update[assignee_id]'
,
options_from_collection_for_select
(
@project
.
users
.
all
,
"id"
,
"name"
,
params
[
:assignee_id
]),
:prompt
=>
"Assignee"
)
=
select_tag
(
'update[milestone_id]'
,
options_from_collection_for_select
(
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
:prompt
=>
"Milestone"
)
=
hidden_field_tag
'update[issues_ids]'
,
[]
=
hidden_field_tag
:f
,
params
[
:f
]
%span
.update_issues_text
Update selected issues with
.left
=
select_tag
(
'update[status]'
,
options_for_select
([
'open'
,
'closed'
]),
:prompt
=>
"Status"
)
=
select_tag
(
'update[assignee_id]'
,
options_from_collection_for_select
(
@project
.
users
.
all
,
"id"
,
"name"
,
params
[
:assignee_id
]),
:prompt
=>
"Assignee"
)
=
select_tag
(
'update[milestone_id]'
,
options_from_collection_for_select
(
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
:prompt
=>
"Milestone"
)
=
hidden_field_tag
'update[issues_ids]'
,
[]
=
hidden_field_tag
:f
,
params
[
:f
]
=
button_tag
"Save"
,
:class
=>
"btn update_selected_issues"
.issues_filters
.left
...
...
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