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
3c91c581
Commit
3c91c581
authored
Apr 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6772 from dblessing/commit_counter
Show actual commit count on project dashboard
parents
884390de
f3497235
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+3
-3
No files found.
app/views/projects/_home_panel.html.haml
View file @
3c91c581
...
...
@@ -25,7 +25,7 @@
-
unless
empty_repo
.col-md-4
.project-home-links
=
link_to
pluralize
(
@repository
.
round_commit_count
,
'commit'
),
project_commits_path
(
@project
,
@ref
||
@repository
.
root_ref
)
=
link_to
pluralize
(
@repository
.
branch_names
.
count
,
'branch'
),
project_branches_path
(
@project
)
=
link_to
pluralize
(
@repository
.
tag_names
.
count
,
'tag'
),
project_tags_path
(
@project
)
=
link_to
pluralize
(
number_with_delimiter
(
@repository
.
commit_count
)
,
'commit'
),
project_commits_path
(
@project
,
@ref
||
@repository
.
root_ref
)
=
link_to
pluralize
(
number_with_delimiter
(
@repository
.
branch_names
.
count
)
,
'branch'
),
project_branches_path
(
@project
)
=
link_to
pluralize
(
number_with_delimiter
(
@repository
.
tag_names
.
count
)
,
'tag'
),
project_tags_path
(
@project
)
%span
.light.prepend-left-20
=
repository_size
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