Show modified date in UI.
parent
9cef3b85e8
commit
98a41a5719
|
@ -1241,8 +1241,13 @@ article.snipt {
|
||||||
}
|
}
|
||||||
&.raw {
|
&.raw {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
color: #3899B5;
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 130px;
|
margin-right: 10px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #3899B5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.tweet {
|
&.tweet {
|
||||||
background: none;
|
background: none;
|
||||||
|
|
|
@ -82,12 +82,13 @@
|
||||||
<% if (!snipt.new_from_js) { %>
|
<% if (!snipt.new_from_js) { %>
|
||||||
<li class="created" title="<%= snipt.created %>"><%= snipt.created_formatted %></li>
|
<li class="created" title="<%= snipt.created %>"><%= snipt.created_formatted %></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<li class="modified" title="<%= snipt.modified %>">Edited <%= snipt.modified %></li>
|
||||||
<% if (snipt.public && !window.detail) { %>
|
<% if (snipt.public && !window.detail) { %>
|
||||||
<li class="comments"><a href="<%= snipt.absolute_url %>#disqus_thread" data-disqus-identifier="<%= snipt.id %>"></a></li>
|
<li class="comments"><a href="<%= snipt.absolute_url %>#disqus_thread" data-disqus-identifier="<%= snipt.id %>"></a></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
<li class="raw">
|
<li class="raw">
|
||||||
<a href="<%= snipt.raw_url %>">Raw</a> /
|
<a href="<%= snipt.raw_url %>">Raw</a> /
|
||||||
<a href="<%= snipt.raw_url %>?nice">Raw Nice</a>
|
<a href="<%= snipt.raw_url %>?nice">Nice</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -163,12 +163,13 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
|
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<li class="created" title="{{ snipt.modified|date:"Y-m-d\TH:i:s" }}">Edited {{ snipt.modified|naturaltime }}</li>
|
||||||
{% if snipt.public and not detail %}
|
{% if snipt.public and not detail %}
|
||||||
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
|
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="raw">
|
<li class="raw">
|
||||||
<a href="{{ snipt.get_raw_url }}">Raw</a> /
|
<a href="{{ snipt.get_raw_url }}">Raw</a> /
|
||||||
<a href="{{ snipt.get_raw_url }}?nice">Raw Nice</a>
|
<a href="{{ snipt.get_raw_url }}?nice">Nice</a>
|
||||||
</li>
|
</li>
|
||||||
{% if detail and snipt.public %}
|
{% if detail and snipt.public %}
|
||||||
<li class="tweet">
|
<li class="tweet">
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/highlightjs-themes/tomorrow.css" />
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/highlightjs-themes/tomorrow.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/default/style.css" />
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/default/style.css" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?113" />
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?114" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if has_snipts and not detail %}
|
{% if has_snipts and not detail %}
|
||||||
|
|
Loading…
Reference in New Issue