summaryrefslogtreecommitdiffstats
path: root/templates/repo/pulls/files.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/pulls/files.tmpl')
-rw-r--r--templates/repo/pulls/files.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/pulls/files.tmpl b/templates/repo/pulls/files.tmpl
index 7866697629..ede487d31b 100644
--- a/templates/repo/pulls/files.tmpl
+++ b/templates/repo/pulls/files.tmpl
@@ -1,4 +1,8 @@
{{template "base/head" .}}
+
+<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
+<input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/>
+
<div class="page-content repository view issue pull files diff">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">