calendar is now only future events; posts include members and images
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% extends 'layout.html' %}
|
||||
func{% extends 'layout.html' %}
|
||||
{% load post_helpers %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
@@ -13,7 +13,7 @@
|
||||
<div class="news-hero-text" >
|
||||
<hr>
|
||||
<div class="article-date">
|
||||
<p>Published on Jan 12, 2020 Just added now</p>
|
||||
<p>{{post.public_date}}</p>
|
||||
</div>
|
||||
<div class="article-title">
|
||||
<h1>{{post.title| safe}}</h1>
|
||||
@@ -55,8 +55,8 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="medium-4 small-12 small-order-1 medium-order-2 padding-1">
|
||||
{% for post in events %}
|
||||
{% include 'posts/partials/_date_box.html' %}
|
||||
{% for post in events %}
|
||||
{% include 'posts/partials/_date_box.html' %}
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{# only thumb and name of member #}
|
||||
{% load thumbnail %}
|
||||
<a class="thumbnail member-thumb" href="/members/member/{{member.mailaccount}}" style="width:150px;height:150px">
|
||||
<a class="thumbnail member-thumb" href="/members/member/{{member.nickname}}" style="width:150px;height:150px">
|
||||
{% if member.image %}
|
||||
<img src="{{member.image | thumbnail_url:'thumb'}}" />
|
||||
{% endif %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<a href ="">
|
||||
<a href ="posts/{{post.slug}}">
|
||||
<div class="date-box">
|
||||
<span>
|
||||
<span class="date-badge badge primary" style="">
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<div class="article-details">
|
||||
{{post.subtitle | tags_to_url }}
|
||||
<div class="article-author">
|
||||
<img src="https://unsplash.it/50/50?image=1005" alt="" />
|
||||
<a href="#">Jane Austen</a>
|
||||
<img src="{{author_image}}" alt="" style="width:80px;height:80px"/>
|
||||
<a href="/members/member/{{post.author}}">{{post.author}}</a>
|
||||
</div>
|
||||
|
||||
<div class="article-comments">
|
||||
|
||||
Reference in New Issue
Block a user