Skip to content

Commit

Permalink
More planet css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 30, 2012
1 parent 6b3cc97 commit 47cda3e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 7 additions & 2 deletions qgis-app/static/style/planet.css
Expand Up @@ -183,18 +183,23 @@ a:hover {
padding-left: 1em;
}

div.date {
div.post-meta span.date {
font-weight: bold;
}

div.post-meta span.name {
font-style: italic;
}

div.post {
margin-bottom: 2em;
clear: both;
}

div.post-title {
font-size: 200%;
margin: 0.5em;
margin: 0.5em 0;
line-height: 1.4em;
}

div.avatar {
Expand Down
10 changes: 4 additions & 6 deletions qgis-app/templates/feedjack/default/post_list.html
Expand Up @@ -107,26 +107,24 @@ <h4>Tags</h4>

{% for item in object_list %}

{% ifchanged %}
<div class="date">{{ item.date_modified|date:"F j, Y" }}</div>
{% endifchanged %}

<div class="post">
{% ifchanged %}
<!-- {{ item.date_modified|date:"F j, Y" }} -->
<div class="avatar">
<img
src="{{ media_url }}/img/faces/{{ item.subscriber.shortname}}.png" alt="">
<br/>
</div>
<span class="name">{{ item.subscriber.name }}</span><br/>
</div>
{% endifchanged %}

{% if item.title %}
<div class="post-title"><a href="{{ item.link }}">{{ item.title }}</a></div>
{% else %}
<div class="post-title"> {{ item.subscriber.name }}</div>
{% endif %}
{% ifchanged %}
<div class="post-meta"> <span class="date">{{ item.date_modified|date:"F j, Y" }}</span> <span class="name">{{ item.subscriber.name }}</span><br/></div>
{% endifchanged %}
<div class="post-content">
<p>{{ item.content|safe }}</p>
<div class="post-meta">
Expand Down

0 comments on commit 47cda3e

Please sign in to comment.