Commit a2c0978e authored by fred's avatar fred

display 20 most recent plays

parent 9d62fedb
......@@ -7,7 +7,7 @@
{% block content %}
<ul class="soma-list">
{% for somalog in object.recent_diffusions|slice:":10" %}
{% for somalog in object.recent_diffusions|slice:":20" %}
<li><span class="timestamp">{{ somalog.play_timestamp|date:"d/m/Y H:i" }}</span>:
{% if somalog.filepath.track %}
<a href="{{ somalog.filepath.track.get_absolute_url }}" class="tracktitle">{{ somalog.filepath.track.title }}</a>
......
......@@ -7,7 +7,7 @@
{% block content %}
<ul class="soma-list">
{% for somalog in object.recent_diffusions|slice:":10" %}
{% for somalog in object.recent_diffusions|slice:":20" %}
<li><span class="timestamp">{{ somalog.play_timestamp|date:"d/m/Y H:i" }}</span>:
{% if somalog.filepath.track %}
<a href="{{ somalog.filepath.track.get_absolute_url }}" class="tracktitle">{{ somalog.filepath.track.title }}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment