forked from tobami/codespeed
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathchanges_data.html
More file actions
44 lines (42 loc) · 1.21 KB
/
changes_data.html
File metadata and controls
44 lines (42 loc) · 1.21 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
<div class="leftcolumn">
{% include 'codespeed/changes_table.html' %}
</div>
<div class="rightcolumn">
<table class="revision">
<col/>
<col/>
<thead>
<tr>
<th colspan="2">Revision</th>
</tr>
</thead>
<tbody>
<tr class="commit-id">
<th class="infofirst">Commit</th>
<td>{% if rev.get_browsing_url %}<a href="{{ rev.get_browsing_url }}">{{ rev.commitid }}</a>{% else %}{{ rev.commitid }}{% endif %}</td>
</tr>
<tr class="date"><th class="infofirst">Date</td><td>{{ rev.date }}</td></tr>
{% ifnotequal rev.branch.project.repo_type "N" %}
<tr class="repo-path"><th class="infofirst">Repo</th><td>{{ rev.branch.project.repo_path }}</td></tr>
{% endifnotequal %}
</tbody>
</table>
{% ifnotequal exe.project.repo_type 'N' %}
<table class="revision">
<col/>
<col/>
<thead class="commits">
<tr>
<th colspan="2">Commit logs</th>
</tr>
</thead>
<tbody class="commits" data-commitid="{{ rev.id }}">
<tr><td colspan="2" style="text-align:center;">Loading...</td></tr>
</tbody>
<script type="text/javascript">
var el = $("tbody.commits");
el.load("logs/", "revisionid=" + el.data("commitid"));
</script>
</table>
{% endifnotequal %}
</div>