mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 01:54:28 +02:00
Add submodule links in tree listing
When a submodule occurs in a tree, generate a link to show the module/commit. The link is specified as a sprintf string in /etc/cgitrc, using parameters 'module-link' and 'repo.module-link'. This should probably be extended with repo.module-link.$path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
cc1dbd1b5d
commit
ded9393b17
6 changed files with 27 additions and 12 deletions
2
cgit.css
2
cgit.css
|
@ -141,7 +141,7 @@ div.error {
|
|||
margin: 1em 2em;
|
||||
}
|
||||
|
||||
div.ls-blob, div.ls-dir {
|
||||
td.ls-blob, td.ls-dir, td.ls-mod {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue