src/cm/templates/site/dashboard_bloc_recent_comments.html
changeset 227 57492cd7e162
parent 160 0c01050f9717
equal deleted inserted replaced
226:99d253569f36 227:57492cd7e162
    18 					<img class="dashlog_img" src="{{ CM_MEDIA_PREFIX }}img/note_small.png"/>
    18 					<img class="dashlog_img" src="{{ CM_MEDIA_PREFIX }}img/note_small.png"/>
    19 					<span class="dashlog_data">
    19 					<span class="dashlog_data">
    20 						<a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{{ comment.title }}</a> {% blocktrans %}on text{% endblocktrans %} <a href="{% url text-view comment.text_version.text.key %}">{{ comment.text_version.title }}</a>						
    20 						<a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{{ comment.title }}</a> {% blocktrans %}on text{% endblocktrans %} <a href="{% url text-view comment.text_version.text.key %}">{{ comment.text_version.title }}</a>						
    21                    </span>
    21                    </span>
    22                    <div style="padding-left:22px;" class="dashlog_metadata">
    22                    <div style="padding-left:22px;" class="dashlog_metadata">
    23 				{% blocktrans with comment.created|timesince as duration %}created {{ duration }} ago{% endblocktrans %}
    23 				{% blocktrans with comment.created|timesince as duration %}created {{ duration }} ago{% endblocktrans %},
       
    24 				{% blocktrans with comment.get_name as username %}by {{ username }}{% endblocktrans %}
    24                    </div>
    25                    </div>
    25                    </div>
    26                    </div>
    26                    </li>
    27                    </li>
    27            {% empty %}
    28            {% empty %}
    28            {% blocktrans %}No comments yet{% endblocktrans %}
    29            {% blocktrans %}No comments yet{% endblocktrans %}