mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 20:17:21 +00:00
Show git-notes (#6984)
* Show git-notes
* Make git-notes heading text localizable
* Refactor git-notes data fetching to a separate function
* Display the author and time of git notes
* Move note bubble inside the commit bubble
* Revert "Move note bubble inside the commit bubble"
This reverts commit c0951fe0e3
.
* Add test for git-notes
* testing ui
* Polish CSS
* Apply suggestions from code review
Co-Authored-By: Lauris BH <lauris@nix.lv>
This commit is contained in:
committed by
Lauris BH
parent
d5a98a2969
commit
a98e085031
@ -19,13 +19,14 @@ func TestRepository_GetRefs(t *testing.T) {
|
||||
refs, err := bareRepo1.GetRefs()
|
||||
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, refs, 4)
|
||||
assert.Len(t, refs, 5)
|
||||
|
||||
expectedRefs := []string{
|
||||
BranchPrefix + "branch1",
|
||||
BranchPrefix + "branch2",
|
||||
BranchPrefix + "master",
|
||||
TagPrefix + "test",
|
||||
NotesRef,
|
||||
}
|
||||
|
||||
for _, ref := range refs {
|
||||
|
Reference in New Issue
Block a user