suggestion widget

This commit is contained in:
friendica
2013-12-06 21:40:01 -08:00
parent 9354c33839
commit f45b06ffa0
6 changed files with 60 additions and 3 deletions

View File

@@ -932,7 +932,7 @@ tr.mceLast {
.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo {
border-radius: $radiuspx;
-moz-border-radius: $radiuspx;
box-shadow: 4px 4px 3px 0 #444444;
box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444;
}
#sidebar-page-list .label {
@@ -2979,3 +2979,4 @@ img.mail-list-sender-photo {
.comment-edit-text-full {
color: black;
}
.suggest-widget-more { margin-top: 10px; }

View File

@@ -1,5 +1,5 @@
<div class="profile-match-wrapper">
<a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="icon drophide smalldrop profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a>
<a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="profile-match-ignore" onclick="return confirmDelete();" ><i class="icon-remove drop-icons"></i></a>
<div class="profile-match-photo">
<a href="{{$entry.url}}">
<img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.url}}]" />

View File

@@ -0,0 +1,10 @@
<div class="widget">
<h3>{{$title}}</h3>
{{if $entries}}
{{foreach $entries as $child}}
{{include file="suggest_friends.tpl" entry=$child}}
{{/foreach}}
{{/if}}
<div class="clear"></div>
<div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div>
</div>