-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Type: EnhancementThis is an improvement of an existing thing (not a new thing, which would be a feature).This is an improvement of an existing thing (not a new thing, which would be a feature).
Description
According to Scout it is the "SubmissionDetailView" that consumes most memory.
Especially the template "stream_forms/includes/file_field.html". Does this template somehow load the files themself?
hypha/hypha/apply/stream_forms/templates/stream_forms/includes/file_field.html
Lines 1 to 20 in b34608c
| {% load i18n heroicons apply_tags %} | |
| <a class="flex justify-between items-center py-2 px-3 mb-2 max-w-2xl font-medium rounded-sm border transition-colors not-prose bg-slate-50 hover:bg-slate-200" | |
| href="{{ file.url }}" | |
| target="_blank" rel="noopener noreferrer" | |
| title="View file - {{ file.filename }}" | |
| > | |
| <span class="text-sm truncate"> | |
| {% heroicon_mini "document-text" class="inline align-text-bottom" aria_hidden=true %} | |
| {{ file.filename|truncatechars_middle:45 }} | |
| <span class="text-xs text-fg-muted"> | |
| <span class="sr-only">{% trans "uploaded" %}</span> | |
| <span aria-hidden>•</span> | |
| <relative-time datetime={{ file.modification_time|date:"c" }}>{{ file.modification_time|date:"SHORT_DATE_FORMAT" }}</relative-time> | |
| </span> | |
| </span> | |
| <span> | |
| {% heroicon_mini "arrow-down" class="inline align-text-bottom rounded-sm" aria_hidden=true %} | |
| </span> | |
| </a> |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: EnhancementThis is an improvement of an existing thing (not a new thing, which would be a feature).This is an improvement of an existing thing (not a new thing, which would be a feature).