🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2022-07-18 1:20:17.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2022-07-18 1:20:17.0 +01:00:00
commit
395106596ba93d39430759f00f8f8cb191c30327 [patch]
tree
69d2be8ccf505c0d7f4e8c368c2d61ff33b67186
parent
c6dcadc2f3eb54000076fa95292f1c2486074d35
download
395106596ba93d39430759f00f8f8cb191c30327.tar.gz

Add links to parents & commit permalinks



Diff

 templates/repo/commit.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/repo/commit.html b/templates/repo/commit.html
index be35019..7b1e54f 100644
--- a/templates/repo/commit.html
+++ a/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>