mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
Add links to the new refs page from summary page
If either branches or tags are filtered on the summary page, add a link to refs/heads and/or refs/tags right below the last branch/tag. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
@@ -227,6 +227,12 @@ void cgit_commit_link(char *name, char *title, char *class, char *head,
|
||||
reporevlink("commit", name, title, class, head, rev, NULL);
|
||||
}
|
||||
|
||||
void cgit_refs_link(char *name, char *title, char *class, char *head,
|
||||
char *rev, char *path)
|
||||
{
|
||||
reporevlink("refs", name, title, class, head, rev, path);
|
||||
}
|
||||
|
||||
void cgit_snapshot_link(char *name, char *title, char *class, char *head,
|
||||
char *rev, char *archivename)
|
||||
{
|
||||
|
Reference in New Issue
Block a user