Skip to content

Commit

Permalink
* I will get it right on the first try one of these days.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Aug 16, 2018
1 parent 032481a commit 3159db5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions django_kala/django_kala/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ <h4>{% trans 'Date' %}</h4>
<a class="header" style="word-wrap: break-word;" href="{% url 'projects:document' document.project.pk document.pk %}">{{ document.name }}</a>
<div class="meta">
{% if document.documentversion_set.all.count == 1 %}
<span class="date">{% blocktrans date=document.date %}Created on {{ date }} {% endblocktrans %}</span>
<span class="date">{% blocktrans with date=document.date %}Created on {{ date }} {% endblocktrans %}</span>
{% else %}
<span class="date">{% blocktrans date=document.date %}'Updated on {{ date }} {% endblocktrans %}</span>
<span class="date">{% blocktrans with date=document.date %}'Updated on {{ date }} {% endblocktrans %}</span>
{% endif %}
by {{ document.documentversion_set.all.0.user }}
</div>
Expand All @@ -111,7 +111,7 @@ <h4>{% trans 'Date' %}</h4>
<div class="extra content">
<div class="ui top left pointing dropdown">
<i class="git branch icon"></i>
<span class="text">{% blocktrans count=document.documentversion_set.all.count %}Versions {{ count }}{% endblocktrans %}</span>
<span class="text">{% blocktrans with count=document.documentversion_set.all.count %}Versions {{ count }}{% endblocktrans %}</span>
<div class="menu">
<div class="header">
{% trans 'Download version' %}
Expand Down

0 comments on commit 3159db5

Please sign in to comment.