From 74d019d7bffde2d3e477f44cd7ee8241cf165e16 Mon Sep 17 00:00:00 2001 From: L. Guruprasad Date: Aug 04 2021 16:38:36 +0000 Subject: Link to the file in the file history page breadcrumb Also simplify the breadcrumb generation code since the output_type is hard-coded to "history". Fixes https://pagure.io/pagure/issue/4793 --- diff --git a/pagure/templates/file_history.html b/pagure/templates/file_history.html index 1b74ac8..8b2af2b 100644 --- a/pagure/templates/file_history.html +++ b/pagure/templates/file_history.html @@ -76,21 +76,20 @@ {% for file in filename.split('/') %} {% set path = '/'.join(filename.split('/')[:loop.index]) %} - {% if loop.index != loop.length %} - {% elif file %} - - {% endif %} {% endfor %}