Compare commits

..

No commits in common. "cb38f2a157b7e6d0c7464c65d5fc9708c9ec2d96" and "c985b0e8cd4af46936dba207a0f896606057a82f" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@
{% else %} {% else %}
<span title="{% trans 'The data must be shared with you, if you want to see which other users have shared access as well.' %}"> <span title="{% trans 'The data must be shared with you, if you want to see which other users have shared access as well.' %}">
{% fa5_icon 'eye-slash' %} {% fa5_icon 'eye-slash' %}
{{obj.intervention.users.count}} {% trans 'other users' %} {{obj.users.count}} {% trans 'other users' %}
</span> </span>
{% endif %} {% endif %}
</td> </td>

View File

@ -152,7 +152,7 @@ class EgonGmlBuilder:
"oneo:aufnahmezeitpunkt": doc.date_of_creation.strftime(DEFAULT_DATE_FORMAT), "oneo:aufnahmezeitpunkt": doc.date_of_creation.strftime(DEFAULT_DATE_FORMAT),
"oneo:bemerkung": doc.comment, "oneo:bemerkung": doc.comment,
"oneo:fotoverweis": base64.b64encode(doc.file.read()).decode("utf-8"), "oneo:fotoverweis": base64.b64encode(doc.file.read()).decode("utf-8"),
"oneo:dateiname": doc.file.url.split("/")[-1], "oneo:dateiname": doc.title,
"oneo:hauptfoto": False, "oneo:hauptfoto": False,
} }
} for doc in regular_docs } for doc in regular_docs