Remove no-op link from submodule entries

Instead of linking to the current page ("href='#'"), do not add a link
to a submodule entry at all if the module-link setting is not used.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2015-03-05 20:41:45 +01:00
committed by Jason A. Donenfeld
parent 7511f4b4df
commit db021a1989
2 changed files with 25 additions and 18 deletions

View File

@@ -254,7 +254,7 @@ div#cgit div.error {
margin: 1em 2em;
}
div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit a.ls-mod {
div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
font-family: monospace;
}