~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/wlmaps/index.html

  • Committer: franku
  • Date: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
{% endcomment %}
5
5
 
6
6
{% load custom_date %}
7
 
{% load wlprofile %}
 
7
{% load wlprofile_extras %}
8
8
{% load wlmaps_extra %}
9
9
{% load threadedcommentstags %}
10
10
{% load pagination_tags %}
11
11
 
12
12
{% block content %}
13
 
<a href="{% url wlmaps_upload %}" class="posRight invertedColor small">Upload a new map</a>
 
13
<a href="{% url 'wlmaps_upload' %}" class="posRight invertedColor small">Upload a new map</a>
14
14
<h1>Maps</h1>
15
15
<div class="blogEntry">
16
16
        <p>
63
63
                                                <td class="grey">Downloads:</td><td>{{ map.nr_downloads }}</td>
64
64
                                                <td class="spacer"></td>
65
65
                                                <td colspan="2">
66
 
                                                        <a class="button" href="{% url wlmaps_download map.slug %}">
 
66
                                                        <a class="button" href="{% url 'wlmaps_download' map.slug %}">
67
67
                                                                <img src="{{ MEDIA_URL }}img/download.png" alt ="" class="middle" />
68
68
                                                                <span class="middle">Direct Download</span>
69
69
                                                        </a>