Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Count from one, you freaks.

  • Loading branch information...
commit 37796591073ecc8e0fa390c97598387479b3ad18 1 parent 74fc9bb
@sarahmei sarahmei authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 email.erb
View
6 email.erb
@@ -1,14 +1,14 @@
Hi diaspora-dev! Please review these changes. <%= "There are #{commit_details.length} commits in total." if commit_details.length > 1 %>
<% commit_details.each_with_index do |commit, i| %>
-*********** COMMIT <%= i %> ***********
+*********** COMMIT <%= i+1 %> ***********
<%= commit["author"]["name"] %> committed this to master at <%= commit["committed_date"] %>.
Commit message: <%= commit["message"] %>
NEW FILES:
<% if commit["added"] && commit["added"].length > 0 %>
<% commit["added"].each do |added_file_info| %>
- <%= added_file_info %>
+ <%= added_file_info %>
<% end %>
<% else %>
None.
@@ -16,7 +16,7 @@ Commit message: <%= commit["message"] %>
DELETED FILES:
<% if commit["removed"] && commit["removed"].length > 0 %>
<% commit["removed"].each do |removed_file_info| %>
- <%= removed_file_info %>
+ <%= removed_file_info %>
<% end %>
<% else %>
None.
Please sign in to comment.
Something went wrong with that request. Please try again.