Skip to content

Instantly share code, notes, and snippets.

@mabako
Created September 18, 2014 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mabako/3f3c34aca7e1513e13b6 to your computer and use it in GitHub Desktop.
Save mabako/3f3c34aca7e1513e13b6 to your computer and use it in GitHub Desktop.
- 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