Skip to content

Commit

Permalink
Updated the default mail template with new macros
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Aug 2, 2010
1 parent 015b9d0 commit 6accb3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- CommonBase.Log should log to configurable sources
* Tests
* Watch template files and CaptainHook.xml file for changes and reload if they're modified
* Implement support for multiple arguments in the template parser
3 changes: 2 additions & 1 deletion Web/App_Data/templates/mail.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@Header(X-Mailer=@Version@)@
@Header(X-Git-Branch=@this.Ref@)@
@Header(X-Git-Repository=@this.Repository.Name@)@
@Subject([@this.Repository.Owner.Name@/@this.Repository.Name@] @FirstCommit.ID(8)@: @FirstCommit.MessageSummary(72)@)@
@AffectedDirectories(X-Git-Modified-Dir)@
@Subject([@this.Repository.Owner.Name@/@this.Repository.Name@]@NumberOfCommits(2, [@this.Commits.Count@ commits])@ @FirstCommit.ID(8)@: @FirstCommit.MessageSummary(72)@)@

Branch: @this.Ref@
Home: @this.Repository.Url@
Expand Down

0 comments on commit 6accb3c

Please sign in to comment.