Commit bf6f8eb6 by Bagus Pambudi

bugfix link share error arab cina jerman

parent 7705d7ee
......@@ -29,7 +29,7 @@
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rSa)
<h1>{!! $data->rSa->title !!}</h1>
<h1>{!! $data->rSa->title ? $data->rSa->title:$data->title!!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
......@@ -77,7 +77,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rSa->title) !!}&amp;hashtags={!! $data->rCategory->rSa->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! $data->rSa->title?url($data->rSa->title) :url($data->title) !!}&amp;hashtags={!! $data->rCategory->rSa->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
......@@ -85,7 +85,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rSa->name !!}&amp;Body={!! url($data->rSa->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rSa->name !!}&amp;Body={!! $data->rSa->title?url($data->rSa->title) :url($data->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
......@@ -93,7 +93,7 @@
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rSa->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! $data->rSa->title?url($data->rSa->title) :url($data->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
......
......@@ -29,7 +29,7 @@
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rDe)
<h1>{!! $data->rDe->title !!}</h1>
<h1>{!! $data->rDe->title?$data->rDe->title :$data->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
......@@ -77,7 +77,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rDe->title) !!}&amp;hashtags={!! $data->rCategory->rDe->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! $data->rDe->title?url($data->rDe->title) :url($data->title)!!}&amp;hashtags={!! $data->rCategory->rDe?$data->rCategory->rDe->name:$data->rCategory->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
......@@ -85,7 +85,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rDe->name !!}&amp;Body={!! url($data->rDe->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rDe?$data->rCategory->rDe->name:$data->rCategory->name !!}&amp;Body={!! $data->rDe->title?url($data->rDe->title) :url($data->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
......@@ -93,7 +93,7 @@
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rDe->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! $data->rDe->title?url($data->rDe->title) :url($data->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
......
......@@ -32,7 +32,7 @@
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rZh)
<h1>{!! $data->rZh->title !!}</h1>
<h1>{!! $data->rZh->title?$data->rZh->title:$data->title !!}</h1>
@else
<h1>{!! $data->title !!}</h1>
@endif
......@@ -80,7 +80,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rZh->title) !!}&amp;hashtags={!! $data->rCategory->rZh->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! $data->rZh->title?url($data->rZh->title) :url($data->title) !!}&amp;hashtags={!! $data->rCategory->rZh?$data->rCategory->rZh->name:$data->rCategory->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
......@@ -88,7 +88,7 @@
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rZh->name !!}&amp;Body={!! url($data->rZh->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rZh?$data->rCategory->rZh->name:$data->rCategory->name !!}&amp;Body={!! $data->rZh->title?url($data->rZh->title) :url($data->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
......@@ -96,7 +96,7 @@
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rZh->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! $data->rZh->title?url($data->rZh->title) :url($data->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment