Skip to content

Commit e8d3a4e

Browse files
committed
Update links.blade.php
1 parent ad744db commit e8d3a4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/views/studio/links.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@
8787

8888
{{strip_tags($link->title,'')}}</span>
8989

90-
@if(!empty($link->link))
90+
@if(!empty($link->link) and $button->name != "vcard")
9191
<br /><a title='{{$link->link}}' href="{{ $link->link}}" target="_blank" class="ml-4 text-muted small">{{Str::limit($link->link, 75 )}}</a>
92+
@elseif(!empty($link->link) and $button->name == "vcard")
93+
<br /><a href="{{ url('vcard/'.$link->id) }}" target="_blank" class="ml-4 text-muted small">Download</a>
9294

9395
@endif
9496

0 commit comments

Comments
 (0)