diff options
Diffstat (limited to 'templates/repo/cite/cite_modal.tmpl')
-rw-r--r-- | templates/repo/cite/cite_modal.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/cite/cite_modal.tmpl b/templates/repo/cite/cite_modal.tmpl index e296a1d6d3..c34c77e0c4 100644 --- a/templates/repo/cite/cite_modal.tmpl +++ b/templates/repo/cite/cite_modal.tmpl @@ -1,13 +1,13 @@ <div class="ui tiny modal" id="cite-repo-modal"> <div class="header"> - {{.locale.Tr "repo.cite_this_repo"}} + {{ctx.Locale.Tr "repo.cite_this_repo"}} </div> <div class="content"> <div class="ui stackable secondary menu"> <div class="fitted item"> <div class="ui action input" id="citation-panel"> {{template "repo/cite/cite_buttons" .}} - <a id="goto-citation-btn" class="ui basic jump icon button" href="{{$.RepoLink}}/src/{{$.BranchName}}/CITATION.cff" data-tooltip-content="{{.locale.Tr "repo.find_file.go_to_file"}}"> + <a id="goto-citation-btn" class="ui basic jump icon button" href="{{$.RepoLink}}/src/{{$.BranchName}}/CITATION.cff" data-tooltip-content="{{ctx.Locale.Tr "repo.find_file.go_to_file"}}"> {{svg "octicon-file-moved"}} </a> </div> @@ -16,7 +16,7 @@ </div> <div class="actions"> <button class="ui cancel button"> - {{.locale.Tr "cancel"}} + {{ctx.Locale.Tr "cancel"}} </button> </div> </div> |