Compare commits

...

2 commits

Author SHA1 Message Date
698f91389f
urlize descriptions to support links
All checks were successful
Tests / test (push) Successful in 27s
2025-06-30 14:16:39 +02:00
e5be4f445f
add favicon
Some checks failed
Build and Deploy Staging / deploy (push) Blocked by required conditions
Tests / test (push) Waiting to run
Build and Deploy Staging / build (push) Has been cancelled
2025-06-30 14:05:53 +02:00
4 changed files with 7 additions and 11 deletions

View file

@ -5,17 +5,13 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{% static 'mazer/compiled/css/app.css' %}">
<link rel="stylesheet"
href="{% static 'mazer/compiled/css/app-dark.css' %}">
<link rel="stylesheet" href="{% static 'mazer/compiled/css/app-dark.css' %}">
<link rel="stylesheet" href="{% static 'mazer/compiled/css/iconly.css' %}">
<link rel="stylesheet" href="{% static 'css/servala.css' %}">
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
<script src="{% static "js/htmx.min.js" %}" defer></script>
</head>
<title>
{% block html_title %}
Dashboard
{% endblock html_title %}
Servala</title>
<title>{% block html_title %}Dashboard{% endblock html_title %} Servala</title>
</head>
<body hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'>
<script src="{% static 'mazer/static/js/initTheme.js' %}"></script>

View file

@ -24,7 +24,7 @@
</div>
<div class="card-body">
<div class="row">
<p>{{ service.description|default:"No description available." }}</p>
<p>{{ service.description|default:"No description available."|urlize }}</p>
</div>
</div>
</div>
@ -46,9 +46,9 @@
</div>
<div class="card-body">
{% if offering.description %}
<p class="card-text">{{ offering.description }}</p>
<p class="card-text">{{ offering.description|urlize }}</p>
{% elif offering.provider.description %}
<p class="card-text">{{ offering.provider.description }}</p>
<p class="card-text">{{ offering.provider.description|urlize }}</p>
{% endif %}
</div>
<div class="card-footer d-flex justify-content-between">

View file

@ -34,7 +34,7 @@
</div>
</div>
<div class="card-body">
{% if service.description %}<p class="card-text">{{ service.description }}</p>{% endif %}
{% if service.description %}<p class="card-text">{{ service.description|urlize }}</p>{% endif %}
</div>
<div class="card-footer d-flex justify-content-between">
<span></span>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB