mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Removed view count and simpler message.
This commit is contained in:
parent
f627632bdd
commit
4eec1ab692
1 changed files with 1 additions and 4 deletions
|
@ -59,9 +59,6 @@
|
||||||
{% trans "One-time snippet" %}
|
{% trans "One-time snippet" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
<span class="btn disabled">
|
|
||||||
{% blocktrans count counter=snippet.view_count %}{{ counter }} View{% plural %}{{ counter }} Views{% endblocktrans %}
|
|
||||||
</span>
|
|
||||||
{% if snippet.pk|in_list:request.session.snippet_list %}
|
{% if snippet.pk|in_list:request.session.snippet_list %}
|
||||||
<a class="btn" href="{% url "snippet_delete" snippet.secret_id %}" onclick="return confirm('{% trans "Really delete this snippet?" %}');"><i class="icon-trash"></i> {% trans "Delete Now" %}</a>
|
<a class="btn" href="{% url "snippet_delete" snippet.secret_id %}" onclick="return confirm('{% trans "Really delete this snippet?" %}');"><i class="icon-trash"></i> {% trans "Delete Now" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -81,7 +78,7 @@
|
||||||
{% elif snippet.remaining_views == 1 %}
|
{% elif snippet.remaining_views == 1 %}
|
||||||
{% trans "It will automatically get deleted after the next view." %}
|
{% trans "It will automatically get deleted after the next view." %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% trans "It was automatically deleted and cannot be viewed again." %}
|
{% trans "It cannot be viewed again." %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue