diff --git a/hub/services/migrations/0017_service_tagline.py b/hub/services/migrations/0017_service_tagline.py new file mode 100644 index 0000000..e207609 --- /dev/null +++ b/hub/services/migrations/0017_service_tagline.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.5 on 2025-03-03 16:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("services", "0016_cloudprovider_disable_listing_and_more"), + ] + + operations = [ + migrations.AddField( + model_name="service", + name="tagline", + field=models.TextField(blank=True, max_length=500, null=True), + ), + ] diff --git a/hub/services/models.py b/hub/services/models.py index 7035fd3..9b126bd 100644 --- a/hub/services/models.py +++ b/hub/services/models.py @@ -116,6 +116,7 @@ class Service(models.Model): name = models.CharField(max_length=200) slug = models.SlugField(max_length=250, unique=True) description = ProseEditorField() + tagline = models.TextField(max_length=500, blank=True, null=True) logo = models.ImageField( upload_to="service_logos/", validators=[validate_image_size], diff --git a/hub/services/templates/services/embedded_contact_form.html b/hub/services/templates/services/embedded_contact_form.html index d0f719d..660be51 100644 --- a/hub/services/templates/services/embedded_contact_form.html +++ b/hub/services/templates/services/embedded_contact_form.html @@ -8,6 +8,13 @@ {% if details %} {% endif %} + + +
+ {% if service %} @@ -54,6 +61,17 @@ {% endif %} + {% if choices %} +Unlock the Power of Cloud Native Applications.
Servala connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.
@@ -169,7 +169,7 @@Servala connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.
Discover:
diff --git a/hub/services/templates/services/offering_detail.html b/hub/services/templates/services/offering_detail.html index 9fbd3e0..daae63c 100644 --- a/hub/services/templates/services/offering_detail.html +++ b/hub/services/templates/services/offering_detail.html @@ -149,11 +149,6 @@+ "{{ service.tagline }}" +
+