summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-12 14:12:00 +0000
committerGerrit Code Review <review@openstack.org>2019-02-12 14:12:00 +0000
commite6a478ee051b39265527c7338a1ad469e4bba942 (patch)
treea2b0959f03c5c31349a0e10bce14b8479c632ac1
parent34788a49c9d7a894c0badd30726c0ddb032be42b (diff)
parentfe078ed994622b11d70d3501405c10189fccf8bb (diff)
Merge "Rewrite #nXXX to #LXXX in incoming gitea urls"
-rw-r--r--docker/gitea/custom/templates/repo/header.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl
index 0b5dac7..439047d 100644
--- a/docker/gitea/custom/templates/repo/header.tmpl
+++ b/docker/gitea/custom/templates/repo/header.tmpl
@@ -1,4 +1,7 @@
1<div class="header-wrapper"> 1<div class="header-wrapper">
2<script>
3 window.location.hash.replace(/#n(\d*)/, '#L$1');
4</script>
2{{with .Repository}} 5{{with .Repository}}
3 <div class="ui container"> 6 <div class="ui container">
4 <div class="ui stackable grid header-grid"> 7 <div class="ui stackable grid header-grid">