some work on profile page - mostly whitespace
This commit is contained in:
parent
ad2c8a4cb7
commit
b86c4156fc
@ -1,26 +1,22 @@
|
|||||||
<div id="profile-content-wrapper" class="generic-content-wrapper-styled">
|
<div id="profile-content-wrapper" class="generic-content-wrapper">
|
||||||
<h2>{{$title}}</h2>
|
<div class="section-title-wrapper">
|
||||||
|
<div class="pull-right dropdown">
|
||||||
{{if $profile.canlike || $profile.like_count}}
|
|
||||||
<div id="profile-like-wrapper">
|
|
||||||
{{if $profile.canlike}}
|
|
||||||
<button type="button" class="btn btn-default btn-sm" onclick="doprofilelike('profile/' + '{{$profile.profile_guid}}','like'); return false;" title="{{$profile.likethis}}" >
|
|
||||||
<i class="icon-thumbs-up-alt" title="{{$profile.likethis}}"></i>
|
|
||||||
</button>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
|
|
||||||
{{if $profile.like_count}}
|
{{if $profile.like_count}}
|
||||||
<div class="btn-group">
|
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" id="profile-like">{{$profile.like_count}} {{$profile.like_button_label}}</button>
|
||||||
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="profile-like">{{$profile.like_count}} {{$profile.like_button_label}}</button>
|
|
||||||
{{if $profile.likers}}
|
{{if $profile.likers}}
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="profile-like">{{foreach $profile.likers as $liker}}<li role="presentation"><a href="{{$liker.url}}">{{$liker.name}}</a></li>{{/foreach}}</ul>
|
<ul class="dropdown-menu" role="menu" aria-labelledby="profile-like">{{foreach $profile.likers as $liker}}<li role="presentation"><a href="{{$liker.url}}">{{$liker.name}}</a></li>{{/foreach}}</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
{{/if}}
|
||||||
|
{{if $profile.canlike}}
|
||||||
|
<button type="button" class="btn btn-success btn-xs" onclick="doprofilelike('profile/' + '{{$profile.profile_guid}}','like'); return false;" title="{{$profile.likethis}}" >
|
||||||
|
<i class="icon-thumbs-up-alt" title="{{$profile.likethis}}"></i>
|
||||||
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
<h2>{{$title}}</h2>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
<div class="section-content-wrapper">
|
||||||
<dl id="aprofile-fullname" class="aprofile">
|
<dl id="aprofile-fullname" class="aprofile">
|
||||||
<dt>{{$profile.fullname.0}}</dt>
|
<dt>{{$profile.fullname.0}}</dt>
|
||||||
<dd>{{$profile.fullname.1}}</dd>
|
<dd>{{$profile.fullname.1}}</dd>
|
||||||
@ -229,5 +225,5 @@
|
|||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user