~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlmaps/index.html

  • Committer: franku
  • Date: 2018-11-21 17:54:32 UTC
  • mfrom: (508.1.1 widelands)
  • Revision ID: somal@arcor.de-20181121175432-8rc3h0332xmgmma4
merged trunk, resolved conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
{% load custom_date %}
7
7
{% load wlprofile_extras %}
8
 
{% load wlmaps_extra %}
9
8
{% load threadedcommentstags %}
10
9
{% load pagination_tags %}
11
10
{% load ratings %}
12
 
{% load ratings_old %}
13
11
 
14
12
{% block content_header %}
15
13
        <h1>Maps</h1>
59
57
                                                <td class="grey">Rating:</td>
60
58
                                                <td>
61
59
                                                        {% ratings map read_only template_name='star_rating/average.html' %}
62
 
                                                        {{ map.rating|average_rating }} ({{ map.rating.votes }} Votes)</td>
 
60
                                                </td>
63
61
                                                <td class="spacer"></td>
64
62
                                                {% get_comment_count for map as ccount %}
65
63
                                                <td class="grey">Comments:</td><td>{{ ccount }}</td>