Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- title 'Commits'
- content_for(:head) do
= auto_discovery_link_tag :rss, commits_url(:rss), title: "Commits"
- grouped = @commits.group_by { |c| c[:date].to_date }
- grouped.each_pair do |date, commits|
section.section.swatch-white-red
.container.element-short-top
.row
.col-md-3.element-short-bottom
header.not-condensed
h1.big.hairline.bordered-normal= date.strftime('%b %e')
.col-md-9
ul.list-commits
- commits.each do |c|
li
= fa_icon "#{c[:icon]} fw"
= link_tickets(c[:message])
- account = Account.find_by_email(c[:author])
- if account.present?
'
| (
= link_to account.name, account
| )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment