Commit 6ea5b609 authored by Mikołaj Nowicki's avatar Mikołaj Nowicki Committed by Mikołaj Nowicki

custom.rb: Fix raw data hardware link for shards

As results for shards are combined we want link to point on correct
groups page.
Signed-off-by: Mikołaj Nowicki's avatarMikolaj Nowicki <>
parent efc37c3c
......@@ -114,8 +114,7 @@ module HardwareList
content += "&nbsp;"
raw_name = host.start_with?('shard-') ? "#{host}1" : host
content += "<span style=\"float: right;\">[raw data](/hardware/#{raw_name}/filelist.html)</span>\n"
content += "<span style=\"float: right;\">[raw data](/hardware/#{host}/filelist.html)</span>\n"
content += "<pre>#{hw_description_to_pretty_yaml(data)}</pre>\n\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment