internal/web/templates/mrrangediff.html

6521399c1c78577eb00f1bcf8947c0900b9cb62e
gitbay/internal/web/templates/mrrangediff.html

15 lines · 808 bytes

 1{{define "width"}}wide{{end}}
 2{{define "title"}}range-diff · !{{.MR.Number}} · {{.Repo.OwnerName}}/{{.Repo.Name}}{{end}}
 3{{define "content"}}
 4<div class="pagehead">
 5  <h1>Range-diff <span class="issuenumber">!{{.MR.Number}}</span></h1>
 6  <span class="grow"></span>
 7  <a class="button btn" href="/{{.Repo.OwnerName}}/{{.Repo.Name}}/mrs/{{.MR.Number}}">Back to !{{.MR.Number}}</a>
 8</div>
 9<p class="meta">{{.MR.Title}}</p>
10{{if .Error}}<p class="error" role="alert">{{.Error}}</p>
11{{else if field . "Lines"}}<pre class="code buildlog rangediff" tabindex="0">{{range .Lines}}<span class="{{.Class}}">{{.Text}}</span>
12{{end}}</pre>
13{{else if .Diff}}<pre class="code buildlog" tabindex="0">{{.Diff}}</pre>
14{{else}}<p class="empty-note">Nothing to compare: this merge request has one revision.</p>{{end}}
15{{end}}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form