typographical fixes
This commit is contained in:
parent
88369d55a5
commit
48eacef8ef
2 changed files with 3 additions and 2 deletions
|
@ -168,7 +168,7 @@ class UngleichHeaderWithBackgroundVideoSliderItem(CMSPlugin):
|
||||||
blank=True,
|
blank=True,
|
||||||
related_name="ungleich_header_item_video",
|
related_name="ungleich_header_item_video",
|
||||||
on_delete=models.SET_NULL,
|
on_delete=models.SET_NULL,
|
||||||
help_text='Leavig this blank will make the image as the background.'
|
help_text='Leaving this blank will make the image as the background.'
|
||||||
)
|
)
|
||||||
heading = models.CharField(
|
heading = models.CharField(
|
||||||
blank=True, null=True, max_length=100,
|
blank=True, null=True, max_length=100,
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<p class="intro_lead">{{ instance.description }}</p>
|
<p class="intro_lead">{{ instance.description }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if instance.btn_link %}
|
{% if instance.btn_link %}
|
||||||
<a class="btn btn-trans" href="{{ instance.btn_link }}">{{ instance.btn_text|default:"Learn More" }}</a>
|
{% trans "Learn More" as default_btn_text %}
|
||||||
|
<a class="btn btn-trans" href="{{ instance.btn_link }}">{{ instance.btn_text|default:default_btn_text }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue