Merge pull request #1618 from rabuzarus/vcard
remove html and make use of vcard-widget.tpl
This commit is contained in:
commit
9a22b4818e
6 changed files with 50 additions and 33 deletions
|
@ -1,6 +1,9 @@
|
|||
|
||||
<div class="vcard">
|
||||
<div class="fn"><a href="{{$url}}">{{$name}}</a></div>
|
||||
<div id="profile-photo-wrapper"><a href="{{$url}}"><img class="photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
|
||||
</div>
|
||||
|
||||
<div class="vcard">
|
||||
<div class="fn">{{$name}}</div>
|
||||
{{if $url}}
|
||||
<div id="profile-photo-wrapper"><a href="{{$url}}"><img class="vcard-photo photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
|
||||
{{else}}
|
||||
<div id="profile-photo-wrapper"><img class="vcard-photo photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue