-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtemplate.html
More file actions
57 lines (49 loc) · 2.54 KB
/
template.html
File metadata and controls
57 lines (49 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hubcap</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<div id="wrapper">
<h1><a target='_blank' href='http://github.com/'>{{organization}}</a> / <a href="http://github.com/{{organization}}/{{project}}">{{project}}</a></h1>
<div id="content">
<div id="merge_proposals">
{% for pull in pulls %}
<div class="proposal {{loop.cycle('odd', 'even')}}">
<a target='_blank' href=''></a>
<a class="branch_name" href="{{pull.html_url}}"><h2>{{pull.title}}</h2></a>
<h3 class="status {% if pull.workflow == "Needs Review"%}needs_review{% endif %}{% if pull.workflow == "WIP"%}wip{% endif %}{% if pull.workflow == "Jenkins"%}jenkins{% endif %}{% if pull.workflow == "Approved"%}approved{% endif %}">{{pull.workflow}}</h3>
<span class="proposal_from">
Proposal from <a href="http://github.com/{{pull.user.login}}">{{pull.user.login}}</a> {% if pull.mergeable %}(mergeable){% else %}(can't merge){% endif %}
</span>
<p class="description">{{pull.body}}</p>
<ul class="votes">
<li class="core_votes">Core: {{pull.workflow_core}}</li>
<li class="non_core_votes">Non-Core: {{pull.workflow_non_core}}</li>
<li class="needs_fixing">Needs Fixing: {{pull.workflow_needs_fixing}}</li>
<li class="rejected">Rejected: {{pull.workflow_rejected}}</li>
</ul>
</div>
{% endfor %}
</div>
<h2>Github comment markup</h2>
<ul class="github_help">
<li class="odd"><strong>!fix</strong> — Needs Fixing</li>
<li class="even"><strong>!lgtm</strong> — Approve</li>
<li class="odd"><strong>!rejected</strong> — Rejected</li>
<li class="even"><strong>!wip</strong> — Work in Progress</li>
<li class="odd"><strong>!ready</strong> — Ready for review (only by author)</li>
<li class="even hubcap_only"><strong>!jenkins</strong> — Branch sent to Jenkins (only by hubcap)</li>
<li class="odd hubcap_only"><strong>!approve</strong> — Hubcap approves merge (only by hubcap)</li>
</ul>
<div id="core_members">
<h2>Core team for {{project}}</h2>
<p>{{approvers}}</p>
</div>
</div>
<div class="footer">
Hubcap project home is <a href='https://github.com/SandyWalsh/hubcap'>here</a>
</div>
</body>
</html>