Skip to content

Instantly share code, notes, and snippets.

@aspiers
Created May 1, 2013 20:06
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 aspiers/5497953 to your computer and use it in GitHub Desktop.
Save aspiers/5497953 to your computer and use it in GitHub Desktop.
%% if create_events
%% for repo, events in create_events|groupby("repo.name")
%% for type, elist in events|groupby("payload.ref_type")
%% trans count=elist|length
- created {{ count }} {{ type }} in {{ repo }}: {{ elist|first }}
%% pluralize
- created {{ count }} {{ type }}es in {{ repo }}: {{ elist|first }}
%% endtrans
%% endfor
%% endfor
%% endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment