]> git.parisson.com Git - teleforma.git/commitdiff
Fixed a bug No Reverse Match teleforma-profile-detail
authorGael Le Mignot <gael@pilotsystems.net>
Wed, 3 Jan 2018 10:14:10 +0000 (11:14 +0100)
committerGael Le Mignot <gael@pilotsystems.net>
Wed, 3 Jan 2018 10:14:10 +0000 (11:14 +0100)
teleforma/models/pro.py
teleforma/templates/postman/view.html

index da2b25fdf905950b2812dc563f0c777edce09460..ebfb91cbcfb24665c7857b8daba1018713832a99 100644 (file)
@@ -377,4 +377,4 @@ class QuizValidation(models.Model):
         ordering = ['-date_validated']
 
 from south.modelsinspector import add_introspection_rules
-add_introspection_rules([], ["^tinymce\.models\.HTMLField"])
\ No newline at end of file
+add_introspection_rules([], ["^tinymce\.models\.HTMLField"])
index f294ec2384f07c96c4207a89ff1c99886ddfecb4..f4d6664b732e4f3c1dfab5d4e42905c1b262f707 100644 (file)
 {% for message in pm_messages %}
 <div class="pm_message{% if message.is_pending %} pm_pending{% endif %}{% if message.is_rejected %} pm_rejected{% endif %}{% if message.sender == user and message.sender_archived or message.recipient == user and message.recipient_archived %} pm_archived{% endif %}{% if message.sender == user and message.sender_deleted_at or message.recipient == user and message.recipient_deleted_at %} pm_deleted{% endif %}{% if message.recipient == user and not message.read_at %} pm_unread{% endif %}">
  <div class="pm_header">
-  <a href="{% url teleforma-profile-detail message.obfuscated_sender %}">
+  <a href="{% url teleforma-profile-detail message.clear_sender %}">
   <span class="pm_sender">{{ message.obfuscated_sender|or_me:user }}</span>
   </a>&raquo;
-  <a href="{% url teleforma-profile-detail message.obfuscated_recipient %}">
+  <a href="{% url teleforma-profile-detail message.clear_recipient %}">
   <span class="pm_recipient">{{ message.obfuscated_recipient|or_me:user }}</span>
   </a> |
   <span class="pm_date">{{ message.sent_at|date:"DATETIME_FORMAT"}}</span> |
@@ -64,4 +64,4 @@
 </div>
 </div>
 <script type="text/javascript">document.getElementById("id_body").focus();</script>
-{% endblock %}
\ No newline at end of file
+{% endblock %}