| tstagit-index.c: add link to release root dir - stagit - [fork] customized buil… | |
| git clone git://src.adamsgaard.dk/stagit | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 0e29f85d1198c7e3ae7e55a501308bb6c081ff67 | |
| parent 83593671123d4d47e736a08354b38ef604de3977 | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Mon, 23 Nov 2020 14:16:57 +0100 | |
| stagit-index.c: add link to release root dir | |
| Diffstat: | |
| M stagit-index.c | 2 ++ | |
| 1 file changed, 2 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/stagit-index.c b/stagit-index.c | |
| t@@ -13,6 +13,7 @@ static git_repository *repo; | |
| static const char *relpath = ""; | |
| static char description[255] = "Anders' Repositories"; | |
| +static char releaselink[255] = "<a href=\"https://src.adamsgaard.dk/releases/\… | |
| static char home_link[255] = "<a href=\"https://adamsgaard.dk\">Back to adamsg… | |
| static char *name = ""; | |
| static char owner[255]; | |
| t@@ -75,6 +76,7 @@ writeheader(FILE *fp) | |
| fprintf(fp, "<table style=\"width:100%%\">\n<tr><td style=\"white-spac… | |
| "<td style=\"width:99%%\"><span class=\"desc\">", relpath); | |
| xmlencode(fp, description, strlen(description)); | |
| + fprintf(fp, "<br />\n%s", releaselink); | |
| fputs("</span></td>", fp); | |
| fprintf(fp, "<td style=\"text-align:right;white-space:nowrap\">%s</td>… | |
| fputs("</tr><tr><td></td><td>\n" |