Ver Fonte

Fixed a bug in the EventDescriptor template

Stan Janssen há 4 anos atrás
pai
commit
2d0d20b173
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      openleadr/templates/parts/eiEventDescriptor.xml

+ 1 - 1
openleadr/templates/parts/eiEventDescriptor.xml

@@ -4,7 +4,7 @@
     {% if event.event_descriptor.modification_date_time is not none %}
     <ei:modificationDateTime>{{ event.event_descriptor.modification_date_time|datetimeformat }}</ei:modificationDateTime>
     {% endif %}
-    {%if event.event_descriptor.modification_date_time is not none %}
+    {%if event.event_descriptor.priority is not none %}
     <ei:priority>{{ event.event_descriptor.priority }}</ei:priority>
     {% endif %}
     <ei:eiMarketContext>