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
550274e1
Commit
550274e1
authored
Mar 19, 2012
by
Steven Verbeek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added badge, made the issue list smaller height wise, and moved # NOTES over to # comments
parent
c43ac3c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+9
-5
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+2
-2
No files found.
app/assets/stylesheets/common.scss
View file @
550274e1
...
...
@@ -250,8 +250,12 @@ nav.main_menu {
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
shade
;
.count
{
color
:
#aaa
;
margin-left
:
3px
;
color
:
#332
;
background
:
white
;
padding
:
1px
6px
2px
;
font-weight
:
bold
;
-webkit-border-radius
:
9px
;
}
.label
{
background
:
$hover
;
...
...
@@ -302,8 +306,8 @@ nav.main_menu {
img
.avatar
{
float
:left
;
margin-right
:
1
5
px
;
width
:
40
px
;
margin-right
:
1
0
px
;
width
:
35
px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
...
...
@@ -326,7 +330,7 @@ img.lil_av {
.wll
{
background-color
:
#FFF
;
padding
:
10px
5
px
;
padding
:
6px
10
px
;
min-height
:
20px
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.05
);
...
...
app/views/issues/_show.html.haml
View file @
550274e1
%li
.wll
{
:id
=>
dom_id
(
issue
),
:class
=>
"issue #{issue.critical ? "
critical
" : ""}"
,
:url
=>
project_issue_path
(
issue
.
project
,
issue
)
}
.right
-
if
issue
.
notes
.
any?
%span
.label
=
pluralize
issue
.
notes
.
count
,
'comment'
-
if
can?
current_user
,
:modify_issue
,
issue
-
if
issue
.
closed
=
link_to
'Reopen'
,
project_issue_path
(
issue
.
project
,
issue
,
:issue
=>
{
:closed
=>
false
},
:status_only
=>
true
),
:method
=>
:put
,
:class
=>
"btn small"
,
:remote
=>
true
...
...
@@ -14,8 +16,6 @@
%span
.label.important
critical
-
if
issue
.
today?
%span
.label.success
today
-
if
issue
.
notes
.
any?
%span
.label
=
pluralize
issue
.
notes
.
count
,
'note'
-
if
issue
.
upvotes
>
0
%span
.label.success
=
"+
#{
issue
.
upvotes
}
"
...
...
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