aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt12
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 65441909..48f1adb8 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -50,8 +50,10 @@ open class HtmlRenderer(
) {
div("platform-tagged") {
node.platforms.forEach {
- div("platform-tag ${it.platformType.name}") {
- text(it.platformType.key.toUpperCase())
+ val targets = it.targets.joinToString(", ")
+ div("platform-tag") {
+ if( targets == "common" ) classes = classes + "common"
+ text(it.targets.joinToString(", "))
}
}
div("content") {
@@ -151,8 +153,10 @@ open class HtmlRenderer(
}
td("platform-tagged") {
it.platforms.forEach {
- div(("platform-tag ${it.platformType.key}")) {
- text(it.platformType.key.toUpperCase())
+ div(("platform-tag")) {
+ val targets = it.targets.joinToString(", ")
+ if( targets == "common" ) classes = classes + "common"
+ text(it.targets.joinToString(", "))
}
}
}