Monthly stuff
parent
3c8f043691
commit
2450a6f563
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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 {
|
||||
|
|
|
@ -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" %}
|
||||
|
|
|
@ -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" %}
|
||||
|
|
Loading…
Reference in New Issue