gitscope
← rgit / Diff · 3951065 → 3951065
Changes 3951065..3951065
Patch commit
diff --git a/templates/repo/commit.html b/templates/repo/commit.html
index be35019..7b1e54f 100644
--- a/templates/repo/commit.html
+++ b/templates/repo/commit.html
@@ -21,7 +21,7 @@
</tr>
<tr>
<th>commit</th>
- <td colspan="2"><pre>{{ commit.oid() }}</pre></td>
+ <td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ commit.oid() }}" class="no-style">{{ commit.oid() }}</a></pre></td>
</tr>
<tr>
<th>tree</th>
@@ -30,7 +30,7 @@
{% for parent in commit.parents() %}
<tr>
<th>parent</th>
- <td colspan="2"><pre>{{ parent }}</pre></td>
+ <td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ parent }}" class="no-style">{{ parent }}</a></pre></td>
</tr>
{% endfor %}
</tbody>