forked from rc/aircox
remove Station model (to much trouble for few advantages); start new player; rename Post.detail_url to Post.url, same for ListItem; move Article into website app; add website.Sound post; work on lists;...
This commit is contained in:
@ -13,8 +13,8 @@
|
||||
{% for k, v in item.attrs.items %}
|
||||
{{ k }} = "{{ v|addslashes }}"
|
||||
{% endfor %} >
|
||||
{% if item.detail_url %}
|
||||
<a href="{{ item.detail_url }}">
|
||||
{% if item.url %}
|
||||
<a href="{{ item.url }}">
|
||||
{% endif %}
|
||||
{% if 'image' in list.fields and item.image %}
|
||||
<img src="{% thumbnail item.image list.image_size crop %}">
|
||||
@ -65,7 +65,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
{% if item.detail_url %}
|
||||
{% if item.url %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% empty %}
|
||||
|
Reference in New Issue
Block a user