Monthly stuff

master
Nick Sergeant 2012-08-11 10:20:38 -04:00
parent 3c8f043691
commit 2450a6f563
5 changed files with 16 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1403,6 +1403,18 @@ body.detail {
margin-right: 100px;
}
}
article.snipt {
&:first-of-type {
margin-top: 20px;
}
}
body.is-pro {
article.snipt {
&:first-of-type {
margin-top: 30px;
}
}
}
// Pages
body.detail {

View File

@ -45,7 +45,7 @@
{% block content %}
<section class="snipts" id="snipts">
{% if not request.user.profile.is_pro %}
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support Snipt and get exclusive features for only $19/year.</div>
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support Snipt and get exclusive features for only $4/month.</div>
{% endif %}
{% with 'true' as detail %}
{% include "snipts/snipt-list.html" %}

View File

@ -13,11 +13,9 @@
{% block content %}
<section class="snipts" id="snipts">
{% comment %}
{% if not request.user.profile.is_pro %}
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support the development of Snipt and get exclusive features for only $19/year.</div>
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support the development of Snipt and get exclusive features for only $4/month.</div>
{% endif %}
{% endcomment %}
{% autopaginate snipts 10 %}
{% for snipt in snipts %}
{% include "snipts/snipt-list.html" %}