We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7d220 commit 8eeb3eaCopy full SHA for 8eeb3ea
message-index/site.hs
@@ -274,7 +274,9 @@ flagSetFields =
274
_ -> noResult "",
275
field "flag_group" $ \_me -> do
276
flagInfo >>= \case
277
- Just (_, g) -> return $ unwords g
+ -- Don't render flag_group field for flags which are not member of any flag group (like -Wall)
278
+ Just (_, []) -> noResult ""
279
+ Just (_, groups) -> return $ unwords groups
280
Nothing -> return ""
281
]
282
message-index/templates/message.html
@@ -4,7 +4,9 @@
4
$if(on_by_default)$
5
<i>Enabled by default</i>
6
$else$
7
- <i>Enabled by: <code>$flag_group$</code></i>
+ $if(flag_group)$
8
+ <i>Enabled by: <code>$flag_group$</code></i>
9
+ $endif$
10
$endif$
11
</p>
12
0 commit comments