Compare commits

..

1 commit

Author SHA1 Message Date
6af048ab2a
feat: add lang-attribute to the html-element
this helps computers interpret and manipulate the website content (example: pronunciation for assistive tech). if tbs ever gets a language setting that should be reflected here.
2025-05-05 22:46:52 +02:00
2 changed files with 6 additions and 9 deletions

View file

@ -30,13 +30,10 @@ class ExportController extends Controller
}
array_push($list, ["heatRating" => $rating, "ratingCount" => $count]);
}
return view(
'front.exports',
[
return view('front.exports', [
'title' => "Exports",
'list' => $list
]
);
]);
}
//
@ -80,7 +77,7 @@ class ExportController extends Controller
}
header('Content-Type: text/csv');
header('Content-Disposition: attachment; filename=' . $type . "-" . $percent . ".csv");
header('Content-Disposition: attachment; filename=' . $type . "-" . $percent);
echo implode(',', $columns) . PHP_EOL;
foreach ($list as $item) {

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="UTF-8">