diff options
author | Jochen Topf <jochen@topf.org> | 2014-09-05 16:55:21 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-09-05 16:55:21 +0200 |
commit | bf5f9f7ea67dcb49b9791825408b68d438785b4b (patch) | |
tree | c44ea1696e8c4302e56c9638639d3c32030df6e8 /web/public | |
parent | 074e4eb4a002678e739652c1c4ff8905b00af17a (diff) | |
download | taginfo-bf5f9f7ea67dcb49b9791825408b68d438785b4b.tar taginfo-bf5f9f7ea67dcb49b9791825408b68d438785b4b.tar.gz |
Add project icons.
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/img/generic_project_icon.png | bin | 0 -> 285 bytes | |||
-rw-r--r-- | web/public/js/taginfo.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/web/public/img/generic_project_icon.png b/web/public/img/generic_project_icon.png Binary files differnew file mode 100644 index 0000000..38ea79f --- /dev/null +++ b/web/public/img/generic_project_icon.png diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 165b2b0..4fa0ed0 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -198,7 +198,7 @@ function link_to_rtype(rtype, attr) { } function link_to_project(id, name, attr) { - return /*img({ src: '/api/v4/project/icon?project=' + id, alt: '' }) + ' ' +*/ link( + return img({ src: '/api/4/project/icon?project=' + id, width: 16, height: 16, alt: '' }) + ' ' + link( url_for_project(id), html_escape(name), attr |