Implement Exoscale onboarding API endpoint #199
2 changed files with 5 additions and 5 deletions
|
|
@ -35,7 +35,10 @@ class Migration(migrations.Migration):
|
||||||
name="external_links",
|
name="external_links",
|
||||||
field=models.JSONField(
|
field=models.JSONField(
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text='JSON array of link objects: {"url": "…", "title": "…", "featured": false}. Featured links will be shown on the service list page, all other links will only show on the service and offering detail pages.',
|
help_text=(
|
||||||
|
'JSON array of link objects: {"url": "…", "title": "…", "featured": false}. '
|
||||||
|
"Featured links will be shown on the service list page, all other links will only show on the service and offering detail pages."
|
||||||
|
),
|
||||||
null=True,
|
null=True,
|
||||||
verbose_name="External links",
|
verbose_name="External links",
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,7 @@
|
||||||
<div class="col-12 col-md-6 col-lg-3">
|
<div class="col-12 col-md-6 col-lg-3">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header card-header-with-logo">
|
<div class="card-header card-header-with-logo">
|
||||||
{% if service.logo %}
|
{% if service.logo %}<img src="{{ service.logo.url }}" alt="{{ service.name }}">{% endif %}
|
||||||
<img src="{{ service.logo.url }}"
|
|
||||||
alt="{{ service.name }}">
|
|
||||||
{% endif %}
|
|
||||||
<div class="card-header-content">
|
<div class="card-header-content">
|
||||||
<h4>{{ service.name }}</h4>
|
<h4>{{ service.name }}</h4>
|
||||||
<small class="text-muted">{{ service.category }}</small>
|
<small class="text-muted">{{ service.category }}</small>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue