diverse verbesserungen posts
This commit is contained in:
@@ -62,6 +62,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -12,7 +12,7 @@
|
||||
{% block header %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<body style="min-height:100%;">
|
||||
|
||||
<div class="top-bar" id="main-menu">
|
||||
<div class="top-bar-left"><a href="{% url 'home' %}">
|
||||
@@ -30,10 +30,16 @@
|
||||
</div>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
<div class="grid-x">
|
||||
<div class="cell medium-6">
|
||||
<a href ="/admin">admin</a>
|
||||
|
||||
<div class="grid-y footer" style="height:8em; bottom:0">
|
||||
|
||||
<div class="grid-x medium-padding-1 large-padding-left-2" style="">
|
||||
<div class="cell">
|
||||
<ul class="no-bullet">
|
||||
<li><a href="/admin">admin</a></li>
|
||||
<li><a href="{% url 'posts.show' 'impressum'%}">Impressum</a></li>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- App.js -->
|
||||
<script src="{%static 'app.js' %}"></script>
|
||||
|
||||
5
fet2020/templates/members/show.html
Normal file
5
fet2020/templates/members/show.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends 'layout.html' %}
|
||||
|
||||
{% block content %}
|
||||
Memeber
|
||||
{% endblock %}
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
{% extends "layout.html" %}
|
||||
{% load post_helpers %}
|
||||
|
||||
{% load thumbnail %}{% load admin_urls %}
|
||||
{% block content %}
|
||||
|
||||
<div class="large-article-header" style="background-image:url('{{post.imageurl}}')">
|
||||
@@ -15,32 +15,36 @@
|
||||
</div>
|
||||
<div class="article-details">
|
||||
{{post.subtitle | tags_to_url }}
|
||||
{% if post.username != None %}
|
||||
<div class="article-author">
|
||||
<img src="https://unsplash.it/50/50?image=1005" alt="" />
|
||||
<a href="#">Jane Austen</a>
|
||||
<img src="{{post.username.image | thumbnail_url:'avatar'}}" alt="" />
|
||||
<a href="{% url 'member' post.username.nickname %}">{{post.username.nickname}}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="article-comments">
|
||||
<a href="#"><i class="fa fa-comment" aria-hidden="true"></i> 3 Comments</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> <button class="">
|
||||
|
||||
<span class="nav fa fa-chevron-right fa-3x"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="grid-container">
|
||||
<h1>{{post.title | tags_to_url }}</h1><br>
|
||||
<a href="{% url 'posts.show' next %}">Nächster Artikel</a>
|
||||
<h1>{{post.title | tags_to_url }}</h1>
|
||||
<strong>{{post.subtitle | tags_to_url }}</strong><span class="nav fa fa-chevron-right fa-3x"></span>
|
||||
<br>
|
||||
<a href="{% url 'posts.show' next %}">Nächster Artikel</a><br>
|
||||
{{post.event_start}}
|
||||
{{post.event_end}}
|
||||
<a href="{{ep_link}}">EP</a>
|
||||
<strong>{{post.subtitle | tags_to_url }}</strong>
|
||||
<a href="{% url "admin:posts_news_change" post.id %}">{% url "admin:posts_news_change" post.slug %}</a>
|
||||
<hr>
|
||||
{{post.body | safe}}
|
||||
{{post.body | safe | add_internal_links | tags_to_url}}
|
||||
<hr>
|
||||
{% for tag in post.get_tagnames %}
|
||||
{{tag |tags_to_url}}
|
||||
{% endfor %}
|
||||
<hr>
|
||||
<div class="grid-x grid-padding">
|
||||
<hr>
|
||||
<div class="grid-x grid-margin-x">
|
||||
|
||||
{% for post in related_posts %}
|
||||
<div class="medium-6 large-4 small-12 cell">
|
||||
|
||||
Reference in New Issue
Block a user