Files
codeocean/app/views/statistics/show.html.slim
Sebastian Serth 9a9efd5caa Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00

12 lines
385 B
Plaintext

#statistics-container
- statistics_data.each do |section|
h2 = section[:name]
.statistics-wrapper data-key=section[:key]
- section[:entries].each do |entry|
a href=entry[:url]
div data-key=entry[:key]
.title = entry[:name]
.data
span = entry[:data].to_s
span.unit = entry[:unit] if entry.key? :unit