typographical fixes

This commit is contained in:
Arvind Tiwari 2017-12-22 00:59:53 +05:30
parent 88369d55a5
commit 48eacef8ef
2 changed files with 3 additions and 2 deletions

View file

@ -168,7 +168,7 @@ class UngleichHeaderWithBackgroundVideoSliderItem(CMSPlugin):
blank=True,
related_name="ungleich_header_item_video",
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(
blank=True, null=True, max_length=100,

View file

@ -20,6 +20,7 @@
<p class="intro_lead">{{ instance.description }}</p>
{% endif %}
{% 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 %}
</div>