Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commits/_commits.html.haml')
-rw-r--r--app/views/projects/commits/_commits.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml
new file mode 100644
index 00000000000..933780e4534
--- /dev/null
+++ b/app/views/projects/commits/_commits.html.haml
@@ -0,0 +1,9 @@
+- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
+ %div.ui-box
+ %h5.title
+ %i.icon-calendar
+ %span= day.stamp("28 Aug, 2010")
+
+ .pull-right
+ %small= pluralize(commits.count, 'commit')
+ %ul.well-list= render commits