File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,9 @@ viewResultItem channel _ show item =
213
213
showDetails =
214
214
if Just item. source. name == show then
215
215
div [ Html . Attributes . map SearchMsg Search . trapClick ]
216
- [ div [] [ text " Default value" ]
216
+ [ div [] [ text " Name" ]
217
+ , div [] [ wrapped asPreCode item. source. name ]
218
+ , div [] [ text " Default value" ]
217
219
, div [] [ withEmpty ( wrapped asPreCode) item. source. default ]
218
220
, div [] [ text " Type" ]
219
221
, div [] [ withEmpty asPre item. source. type_ ]
@@ -241,9 +243,10 @@ viewResultItem channel _ show item =
241
243
<|
242
244
List . filterMap identity
243
245
[ Just <|
244
- Html . button
246
+ Html . a
245
247
[ class " search-result-button"
246
248
, onClick toggle
249
+ , href " "
247
250
]
248
251
[ text item. source. name ]
249
252
, Maybe . map showHtml item. source. description
Original file line number Diff line number Diff line change @@ -540,9 +540,10 @@ viewResultItem channel showNixOSDetails show item =
540
540
( []
541
541
|> List . append longerPackageDetails
542
542
|> List . append
543
- [ Html . button
543
+ [ Html . a
544
544
[ class " search-result-button"
545
545
, onClick toggle
546
+ , href " "
546
547
]
547
548
[ text item. source. attr_name ]
548
549
, div [] [ text <| Maybe . withDefault " " item. source. description ]
You can’t perform that action at this time.
0 commit comments