[opendev][gitea] Add a link to open changes
Gitea is quickly becoming the public face of Opendev, however it can be difficult for visitors to understand how to propose changes (or access already-proposed changes), and then assume everything on opendev is read-only (which is the exact opposite of what we want to convey). In the spirit of further integrating Opendev tooling, add a link to on every repository to open proposed changes on Gerrit. NB: the link is not I18n-ilized since there is no simple way to add a new string there, and I did not want to use teh "Pull requests" terminology. Change-Id: I851a1e7d25556194947198a8f5534542d167c7f8
This commit is contained in:
parent
47f2721386
commit
67408f6ead
@ -45,6 +45,10 @@
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
<a class="active item" href="https://review.opendev.org/#/q/status:open+project:{{.Owner.Name}}/{{.Name}}">
|
||||
<i class="octicon octicon-git-pull-request"></i> Proposed changes
|
||||
</a>
|
||||
|
||||
{{if or (.Permission.CanRead $.UnitTypeWiki) (.Permission.CanRead $.UnitTypeExternalWiki)}}
|
||||
<a class="{{if .PageIsWiki}}active{{end}} item" href="{{.RepoLink}}/wiki" {{if (.Permission.CanRead $.UnitTypeExternalWiki)}} target="_blank" rel="noopener noreferrer" {{end}}>
|
||||
<i class="octicon octicon-book"></i> {{.i18n.Tr "repo.wiki"}}
|
||||
|
Loading…
Reference in New Issue
Block a user