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
77bde9a0
Commit
77bde9a0
authored
Oct 04, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notes count to commits in lists.
parent
679d0d6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
commits.scss
app/assets/stylesheets/sections/commits.scss
+5
-0
_commit.html.haml
app/views/commits/_commit.html.haml
+7
-0
No files found.
app/assets/stylesheets/sections/commits.scss
View file @
77bde9a0
...
...
@@ -203,6 +203,11 @@
@extend
.cgray
;
}
.notes_count
{
float
:right
;
margin
:
-6px
8px
6px
;
}
code
{
background
:
#FCEEC1
;
color
:
$style_color
;
...
...
app/views/commits/_commit.html.haml
View file @
77bde9a0
...
...
@@ -13,3 +13,10 @@
=
time_ago_in_words
(
commit
.
committed_date
)
ago
%span
.notes_count
-
notes
=
@project
.
commit_notes
(
commit
)
+
@project
.
commit_line_notes
(
commit
)
-
if
notes
.
any?
%span
.btn.small.disabled.grouped
%i
.icon-comment
=
notes
.
count
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