mirror of
https://git.zx2c4.com/cgit
synced 2025-07-13 11:44:36 +02: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:
parent
7937d06090
commit
ac1f493b6b
3 changed files with 21 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue