fix: further fixes re content viewing and editing

This commit is contained in:
Per Stark
2025-04-30 14:16:46 +02:00
parent bf521e747b
commit fd927422bd
4 changed files with 18 additions and 16 deletions

View File

@@ -5,8 +5,8 @@
<div class="card-body">
<div class="flex justify-between space-x-2">
<h2 class="card-title truncate">
{% if text_content.url %}
<a href="{{ text_content.url}}">{{text_content.url}}</a>
{% if text_content.url_info %}
<a href="{{ text_content.url_info.url}}">{{text_content.url_info.title}}</a>
{% elif text_content.file_info %}
{{text_content.file_info.file_name}}
{% else %}