add template alt tag

This commit is contained in:
vedatakd 2019-07-18 10:28:25 +03:00
parent 6376bcef5f
commit ef83066635
5 changed files with 11 additions and 13 deletions

View File

@ -21,7 +21,7 @@
<div class="featured-image"> <div class="featured-image">
{% if adv.cover_photo != null %} {% if adv.cover_photo != null %}
<a href="{{ adv.detail_url }}"><img <a href="{{ adv.detail_url }}"><img
src="{{ adv.cover_photo }}" alt="" src="{{ adv.cover_photo }}" alt="{{ adv.name }}"
class="img-respocive"></a> class="img-respocive"></a>
{% endif %} {% endif %}
</div> </div>

View File

@ -17,7 +17,7 @@
<div class="item-image-box col-sm-4"> <div class="item-image-box col-sm-4">
<!-- item-image --> <!-- item-image -->
<div class="item-image"> <div class="item-image">
<a href="{{ url('advs/adv/' ~ adv.id)}}"><img src="{{ adv.cover_photo }}" alt="" class="img-respocive"></a> <a href="{{ url('advs/adv/' ~ adv.id)}}"><img src="{{ adv.cover_photo }}" alt="{{ adv.name }}" class="img-respocive"></a>
</div><!-- item-image --> </div><!-- item-image -->
</div><!-- item-image-box --> </div><!-- item-image-box -->
@ -65,7 +65,7 @@
<div class="item-image-box col-sm-4"> <div class="item-image-box col-sm-4">
<!-- item-image --> <!-- item-image -->
<div class="item-image"> <div class="item-image">
<a href="{{ url('advs/adv/' ~ adv_of_days.id)}}"><img src="{{ adv.cover_photo }}" alt="" class="img-respocive"></a> <a href="{{ url('advs/adv/' ~ adv_of_days.id)}}"><img src="{{ adv.cover_photo }}" alt="{{ adv.name }}" class="img-respocive"></a>
{% if adv.is_get_adv == "1" %} {% if adv.is_get_adv == "1" %}
<a href="#" class="verified" data-toggle="tooltip" data-placement="top" title="Get ilanı"><i class="fa fa-check-square-o"></i></a> <a href="#" class="verified" data-toggle="tooltip" data-placement="top" title="Get ilanı"><i class="fa fa-check-square-o"></i></a>
{% endif %} {% endif %}

View File

@ -116,7 +116,7 @@
<div class="featured"> <div class="featured">
<div class="featured-image"> <div class="featured-image">
<a href="{{ adv.detail_url }}"><img <a href="{{ adv.detail_url }}"><img
src="{{ adv.cover_photo }}" alt="" src="{{ adv.cover_photo }}" alt="{{ substr(adv.name,0,25) }}"
class="img-respocive"></a> class="img-respocive"></a>
</div> </div>
@ -205,7 +205,7 @@
<!-- item-image --> <!-- item-image -->
<div class="item-image"> <div class="item-image">
<a href="{{ adv.detail_url }}"><img <a href="{{ adv.detail_url }}"><img
src="{{ adv.cover_photo }}" alt="" src="{{ adv.cover_photo }}" alt="{{ adv.name }}"
class="img-respocive"></a> class="img-respocive"></a>
</div><!-- item-image --> </div><!-- item-image -->
</div><!-- item-image-box --> </div><!-- item-image-box -->
@ -261,7 +261,7 @@
<!-- item-image --> <!-- item-image -->
<div class="item-image"> <div class="item-image">
<a href="{{ adv.detail_url }}"><img <a href="{{ adv.detail_url }}"><img
src="{{ adv.cover_photo }}" alt="" src="{{ adv.cover_photo }}" alt="{{ adv.name }}"
class="img-respocive"></a> class="img-respocive"></a>
{% if adv.is_get_adv == "1" %} {% if adv.is_get_adv == "1" %}
@ -337,7 +337,7 @@
<li class="category-item"> <li class="category-item">
<div class="category-icon home_footer_categories_field_icon"> <div class="category-icon home_footer_categories_field_icon">
{% if cat.files[0].path != "" %} {% if cat.files[0].path != "" %}
<img src="{{ url('files/' ~ cat.files[0].path) }}" alt="images" <img src="{{ url('files/' ~ cat.files[0].path) }}" alt="{{ cat.name }}"
class="img-responsive"> class="img-responsive">
{% endif %} {% endif %}
</div> </div>

View File

@ -9,7 +9,6 @@
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,500,700,300' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Ubuntu:400,500,700,300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Signika+Negative:400,300,600,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Signika+Negative:400,300,600,700' rel='stylesheet' type='text/css'>
<!-- Meta Tags --> <!-- Meta Tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"/> <meta name="viewport" content="width=device-width"/>

View File

@ -10,12 +10,11 @@
</button> </button>
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
{% if setting_value('visiosoft.module.advs::logo') == NULL %} {% if setting_value('visiosoft.module.advs::logo') == NULL %}
<img class="img-responsive" src="{{ img('theme::images/logo-horizontal.png').url }}" <img class="img-responsive" alt="{{ trans(template.meta_title) }}-Logo" src="{{ img('theme::images/logo-horizontal.png').url }}">
alt="Logo">
{% else %} {% else %}
<img class="img-responsive" <img class="img-responsive"
src="{{ url('files/' ~ file(setting_value('visiosoft.module.advs::logo')).path) }}" src="{{ url('files/' ~ file(setting_value('visiosoft.module.advs::logo')).path) }}"
alt="Logo"> alt="{{ trans(template.meta_title) }}-Logo">
{% endif %} {% endif %}
</a> </a>
</div> </div>
@ -73,7 +72,7 @@
<ul class="nav navbar-nav controls-menu-right" style="float: right;"> <ul class="nav navbar-nav controls-menu-right" style="float: right;">
{% set current_locale = entries('advs').getCurrentLocale() %} {% set current_locale = entries('advs').getCurrentLocale() %}
{{ languageSwitcher('openclassify-lang', {'toggle_title': '<img src="'~img('theme::images/flags/'~config('app.locale')~'.png').url~'" class="lang-flag" >' ~current_locale~'','toggle_class':'navigation-lang-field-none'}) }} {{ languageSwitcher('openclassify-lang', {'toggle_title': '<img alt="'~config('app.locale')~'" src="'~img('theme::images/flags/'~config('app.locale')~'.png').url~'" class="lang-flag" >' ~current_locale~'','toggle_class':'navigation-lang-field-none'}) }}
{% if auth_check() %} {% if auth_check() %}
<li class="dropdown profile-navigation-field"> <li class="dropdown profile-navigation-field">
@ -130,7 +129,7 @@
<li> <li>
<span class="cart-item"> <span class="cart-item">
<span class="cart-item-left"> <span class="cart-item-left">
<img src="{{ item_cart.cover_photo }}" alt="" height="50" width="70" <img src="{{ item_cart.cover_photo }}" alt="{{ item_cart.name }}" height="50" width="70"
class="item-cart-img"> class="item-cart-img">
<span class="item-name">{{ item_cart.name }}</span> <span class="item-name">{{ item_cart.name }}</span>
<span class="item-price">{{ item_cart.priceFormat(item_cart) }}</span> <span class="item-price">{{ item_cart.priceFormat(item_cart) }}</span>