some shifting to make button groups render properly
This commit is contained in:
parent
b340fd5095
commit
7c45f23f8f
@ -140,9 +140,6 @@
|
||||
{{else}}
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-{{$verb}}-{{$item.id}}">{{foreach $response.list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $response.list_part}}
|
||||
<div class="modal" id="{{$verb}}Modal-{{$item.id}}">
|
||||
<div class="modal-dialog">
|
||||
@ -161,10 +158,11 @@
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
@ -130,13 +130,20 @@
|
||||
</div>
|
||||
<div id="like-rotator-{{$item.id}}" class="like-rotator"></div>
|
||||
<div class="wall-item-tools-left{{if $item.unseen_comments || $item.like_count || $item.dislike_count}} btn-group{{/if}}">
|
||||
|
||||
|
||||
<div class="wall-item-list-comments btn-group"><button class="btn btn-default btn-sm" onclick="window.location.href='{{$item.viewthread}}'; return false;">{{$item.comment_count_txt}}{{if $item.unseen_comments}}
|
||||
<span class="unseen-wall-indicator-{{$item.id}}">, {{$item.list_unseen_txt}}{{/if}}</span></button></div>{{if $item.unseen_comments}}<div class="unseen-wall-indicator-{{$item.id}} btn-group"><button class="btn btn-default btn-sm" title="{{$item.markseen}}" onclick="markItemRead({{$item.id}}); return false;"><i class="icon-check"></i></div>{{/if}}
|
||||
<div class="wall-item-list-comments btn-group">
|
||||
<button class="btn btn-default btn-sm" onclick="window.location.href='{{$item.viewthread}}'; return false;">
|
||||
{{$item.comment_count_txt}}{{if $item.unseen_comments}}<span class="unseen-wall-indicator-{{$item.id}}">, {{$item.list_unseen_txt}}</span>{{/if}}
|
||||
</button>
|
||||
</div>
|
||||
{{if $item.unseen_comments}}
|
||||
<div class="unseen-wall-indicator-{{$item.id}} btn-group">
|
||||
<button class="btn btn-default btn-sm" title="{{$item.markseen}}" onclick="markItemRead({{$item.id}}); return false;">
|
||||
<i class="icon-check"></i>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $item.responses }}
|
||||
<div class="wall-item-tools-left{{if $item.responses.count > 1}} btn-group{{/if}}">
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
{{if $response.count}}
|
||||
<div class="btn-group">
|
||||
@ -146,9 +153,6 @@
|
||||
{{else}}
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-{{$verb}}-{{$item.id}}">{{foreach $response.list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $response.list_part}}
|
||||
<div class="modal" id="{{$verb}}Modal-{{$item.id}}">
|
||||
<div class="modal-dialog">
|
||||
@ -167,9 +171,10 @@
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
Reference in New Issue
Block a user