-
Notifications
You must be signed in to change notification settings - Fork 28
/
stats.html.erb
23 lines (19 loc) · 928 Bytes
/
stats.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html><title>PRs that Require Triage</title>
<head><link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'></head>
<body>
<h1>PRs that Require Triage <a href='http://www.cornify.com' onclick='cornify_add();return false;'><img src='http://www.cornify.com/assets/cornify.gif' width='61' height='16' border='0' alt='Cornify' /></a><script type='text/javascript' src='http://www.cornify.com/js/cornify.js'></script></h1>
<% stats_data.each do |title, pr_array| %>
<h2><%= title %></h2>
<table border='1' style='width:100%'> <tr>
<td>Title:</td><td>Author:</td><td>Location:</td></tr>
<% OctokitUtils.sort_pulls(pr_array).each do |pr| %>
<tr><td> <a href='<%= pr.html_url %>'><%= pr.title %></a></td> <td><%= pr.user.login %></td>
<% unless pr.head.repo.nil? %>
<td><%= pr.head.repo.name %></td>
<% end %>
</tr>
<% end %>
</table>
<% end %>
</body>
</html>