show number of subs per class
This commit is contained in:
+11
-12
@@ -1,17 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||||
<style>
|
||||
</style>
|
||||
<meta charset="utf-8">
|
||||
<title>Vertretungsplan Uhlandshöhe</title>
|
||||
</head>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||||
<style>
|
||||
</style>
|
||||
<meta charset="utf-8">
|
||||
<title>Vertretungsplan Uhlandshöhe</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{~> page}}
|
||||
<h3> End</h3>
|
||||
</body>
|
||||
<body>
|
||||
{{~> page}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
@@ -2,9 +2,12 @@
|
||||
<h1>Vertretungen</h1>
|
||||
<div class="grid-container">
|
||||
{{#each klassen}}
|
||||
<div class="grid-item">
|
||||
<h2>{{this.0.klassen_id}}. {{this.0.stufe}}{{this.0.gruppe}} <br />{{this.1}}</h2>
|
||||
</div>
|
||||
<a href="/klasse/{{this.0.klassen_id}}">
|
||||
<div class="grid-item">
|
||||
<h2>{{this.0.stufe}}{{this.0.gruppe}}</h2>
|
||||
<div class="summary"><br />{{length this.1}} vertreten</div>
|
||||
</div>
|
||||
</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/inline}}
|
||||
|
||||
Reference in New Issue
Block a user