diff --git a/templates/front_page.html b/templates/front_page.html index 2f3b2dcf..c9b29ab4 100644 --- a/templates/front_page.html +++ b/templates/front_page.html @@ -65,20 +65,7 @@
{% include "officeCalendar/includes/list.html" %} -
-
- Bedpres leaderboard -
- - - {% for t in bedpres_leaderboard %} - - - - - {% endfor %} -
BrukerAntall Bedpres
{{t.first_name}} {{t.last_name}}{{t.num_bedpres}}
-
+ {% include "includes/bedpres_leaderboard.html" %}
diff --git a/templates/includes/bedpres_leaderboard.html b/templates/includes/bedpres_leaderboard.html new file mode 100644 index 00000000..68f452db --- /dev/null +++ b/templates/includes/bedpres_leaderboard.html @@ -0,0 +1,14 @@ +
+
+ Bedpres leaderboard +
+ + + {% for t in bedpres_leaderboard %} + + + + + {% endfor %} +
BrukerAntall Bedpres
{{t.first_name}} {{t.last_name}}{{t.num_bedpres}}
+