From: andy.doan at linaro.org (Andy Doan)
Subject: [PATCHv3 1/2] ui-repolist: provide hyperlinks on section names
Date: Mon, 12 Sep 2016 22:54:07 -0500 [thread overview]
Message-ID: <1473738848-1636-2-git-send-email-andy.doan@linaro.org> (raw)
In-Reply-To: <1473738848-1636-1-git-send-email-andy.doan@linaro.org>
This makes it easier to traverse into a section of git repositories.
Signed-off-by: Andy Doan <andy.doan at linaro.org>
---
ui-repolist.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ui-repolist.c b/ui-repolist.c
index 30915df..3f967a8 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -322,7 +322,11 @@ void cgit_print_repolist(void)
strcmp(section, last_section)))) {
htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>",
columns);
+ html("<a href='");
+ html_attr(section);
+ html("'>");
html_txt(section);
+ html("</a>");
html("</td></tr>");
last_section = section;
}
--
2.7.4
next prev parent reply other threads:[~2016-09-13 3:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 22:01 [PATCHv2 0/2] Collapsible Section Support andy.doan
2016-09-12 22:01 ` [PATCH 1/2] ui-repolist: provide hyperlinks on section names andy.doan
2016-09-12 23:08 ` john
2016-09-12 22:01 ` [PATCH 2/2] ui-repolist: Allow sections to be collapsible andy.doan
2016-09-13 3:54 ` [PATCHv3 0/2] Collapsible Section Support andy.doan
2016-09-13 3:54 ` andy.doan [this message]
2016-09-13 3:54 ` [PATCHv3 2/2] ui-repolist: Allow sections to be collapsible andy.doan
2016-10-01 20:50 ` [PATCHv2 0/2] Collapsible Section Support Jason
2016-10-03 15:44 ` andy.doan
2016-10-03 15:54 ` Jason
2016-10-03 15:56 ` Jason
2016-10-03 18:04 ` andy.doan
2016-10-03 20:52 ` andy.doan
2016-10-11 16:15 ` andy.doan
2016-10-03 18:10 ` tim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473738848-1636-2-git-send-email-andy.doan@linaro.org \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).