summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-03-16 15:49:06 +0530
committerArun Isaac2022-03-16 15:49:06 +0530
commit76083ddd912b754772cfebf05374243cfc8a7717 (patch)
tree159881fc77815bf8bd0bec72ff785dbe2dbdb8fe
parente224c3b17b5feca3047657725cd73ada4a73beae (diff)
downloadtissue-76083ddd912b754772cfebf05374243cfc8a7717.tar.gz
tissue-76083ddd912b754772cfebf05374243cfc8a7717.tar.lz
tissue-76083ddd912b754772cfebf05374243cfc8a7717.zip
tissue: Add CSS class specific to each tag.
This will let users customize the color of their tags. * tissue/web.scm (issue-list-item-markup-writer-action): Add CSS class specific to each tag.
-rw-r--r--tissue/web.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tissue/web.scm b/tissue/web.scm
index 36c0428..bd6e0b0 100644
--- a/tissue/web.scm
+++ b/tissue/web.scm
@@ -122,6 +122,7 @@ NEW-EXTENSION."
(uri-encode (sanitize-string tag))
".html"))
(class ,(string-append "tag"
+ (string-append " tag-" (sanitize-string tag))
(if (not (null? (lset-intersection
string=? words
(list "bug" "critical"))))