Files
textmate/Applications/TextMate/about/Contributions.md
Allan Odgaard 94b1f9aa6c Add titles to HTML used in about window
With voice over enabled the titles will be read aloud, so it makes sense to set them to something sensible.
2014-03-12 15:50:39 +07:00

2.2 KiB

Title: Contributions CSS: css/contributions.css JS: js/contributions.js

Contributions

See commits at GitHub.

<%# this wrapping div prevents Markdown from trying to parse the ERB blocks %>

<% last_group_heading = ''

require 'bin/gen_credits' generate_credits(File.expand_path('~/Library/Caches/com.macromates.TextMate/githubcredits')) do |hash, author, subject, body, userpic, date, github_user| group_heading = date.strftime('%b %e, %Y')

if last_group_heading != group_heading if last_group_heading != '' _erbout << "\n" end %>

<%= group_heading %>

    <% last_group_heading = group_heading end %>
  1. <%= subject %> <% if body != '' %><% end %>

    <% if body != '' %>
    <%= body %>
    <% end %>
    <%= hash[0,10] %> Browse code
    <% if github_user %><% end %><%= author %><% if github_user %><% end %> authored
  2. <% end

    if last_group_heading != '' _erbout << "

\n" end %>