index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'templates/repositorys.html')

-rw-r--r-- templates/repositorys.html 11
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/templates/repositorys.html b/templates/repositorys.html
index 9909a26..0646bf8 100644
--- a/templates/repositorys.html
+++ b/templates/repositorys.html
@@ -42,16 +42,7 @@
              {% let gix_repo = repo.gix() %}
              {% if let Some(last_commit) = repo.last_commit(gix_repo)? %}
                {% let time = last_commit.time.format_relative() %}
                <span class="
                {% match time.1 %}
                  {% when Recency::Fresh %}fresh
                  {% when Recency::Recent %}recent
                  {% when Recency::Stale %}stale
                {% endmatch %}
                "
                title="{{ last_commit.time.format() }}">
                  {{ time.0 }}
                </span>
                <span class="{{ time.1 }}" title="{{ last_commit.time.format() }}">{{ time.0 }}</span>
              {% else %}
                <span class="stale">Unknown</span>
              {% endif %}