~edwargix/git.sr.ht

9079966323f7b3e3f4f804c4b2f3da00562d41d6 — Marco Sirabella 3 years ago 41b9b5e
Always link to the log view on commit time

This is a bit more useful than being redirected to the same page you're
on when you're on summary or refs, and seeing no change
1 files changed, 2 insertions(+), 1 deletions(-)

M gitsrht/templates/utils.html
M gitsrht/templates/utils.html => gitsrht/templates/utils.html +2 -1
@@ 102,7 102,8 @@ endif %}{% endfor %}
  <small class="pull-right">
    <a
      id="log-{{c.id}}"
      href="#log-{{c.id}}"
      href="{{url_for("repo.log", owner=repo.owner.canonical_name,
        repo=repo.name)}}#log-{{c.id}}"
    >{{ commit_time(c) | date }}</a>
  </small>