diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_prep.css | 8 | ||||
-rw-r--r-- | view/pdl/mod_prep.pdl | 5 | ||||
-rw-r--r-- | view/tpl/prep.tpl | 24 | ||||
-rwxr-xr-x | view/tpl/xchan_vcard.tpl | 2 |
4 files changed, 22 insertions, 17 deletions
diff --git a/view/css/mod_prep.css b/view/css/mod_prep.css new file mode 100644 index 000000000..3701cbdff --- /dev/null +++ b/view/css/mod_prep.css @@ -0,0 +1,8 @@ +.contact-photo-wrapper { + float: left; + width: 120px; +} + +.prep-details { + float: left; +}
\ No newline at end of file diff --git a/view/pdl/mod_prep.pdl b/view/pdl/mod_prep.pdl new file mode 100644 index 000000000..3d40386cd --- /dev/null +++ b/view/pdl/mod_prep.pdl @@ -0,0 +1,5 @@ +[region=aside] +[widget=vcard][/widget] +[widget=suggestions][/widget] +[widget=findpeople][/widget] +[/region] diff --git a/view/tpl/prep.tpl b/view/tpl/prep.tpl index d0c1e5ec6..49dea7d72 100644 --- a/view/tpl/prep.tpl +++ b/view/tpl/prep.tpl @@ -1,17 +1,5 @@ <h1>{{$header}}</h1> -{{if $poi}} - -<div class="directory-item lframe" id="directory-item-{{$poi.xchan_hash}}" > - -<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$poi.xchan_hash}}" > -<div class="contact-photo" id="directory-photo-{{$poi.xchan_hash}}" > -<a href="{{$poi.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$poi.xchan_hash}}" ><img class="directory-photo-img" src="{{$poi.xchan_photo_l}}" alt="{{$poi.xchan_addr}}" title="{{$poi.xchan_addr}}" /></a> -<div class="contact-name">{{$poi.xchan_name}}</div> -</div> -</div> -{{/if}} - {{if $raters}} {{foreach $raters as $r}} @@ -19,14 +7,18 @@ <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$r.xchan_hash}}" > <div class="contact-photo" id="directory-photo-{{$r.xchan_hash}}" > -<a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><img class="directory-photo-img" src="{{$r.xchan_photo_l}}" alt="{{$r.xchan_addr}}" title="{{$r.xchan_addr}}" /></a> -<div class="contact-name">{{$r.xchan_name}}</div> +<a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><img class="directory-photo-img" src="{{$r.xchan_photo_m}}" alt="{{$r.xchan_addr}}" title="{{$r.xchan_addr}}" /></a> </div> -Rating: {{$r.xlink_rating}} +</div> +<div class="prep-details"> +<a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><div class="contact-name">{{$r.xchan_name}}</div></a> +{{$rating_lbl}} {{$r.xlink_rating}} {{if $r.xlink_rating_text}} -Reason: {{$r.xlink_rating_text}} +{{$rating_text_label}} {{$r.xlink_rating_text}} {{/if}} </div> +<div class="clear"></div> +</div> {{/foreach}} {{/if}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 929965727..b72250bec 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,6 +1,6 @@ <div class="vcard"> <div class="fn">{{$name}}</div> -<div id="profile-photo-wrapper"><img class="vcard-photo photo" src="{{$photo}}" alt="{{$name}}" /></div> +<div id="profile-photo-wrapper"><a href="{{$link}}"><img class="vcard-photo photo" src="{{$photo}}" alt="{{$name}}" /></a></div> </div> |