From b86c4156fc98b8fe803e14e87e92c75861a68607 Mon Sep 17 00:00:00 2001 From: marijus Date: Wed, 10 Dec 2014 22:13:44 +0100 Subject: some work on profile page - mostly whitespace --- view/tpl/profile_advanced.tpl | 460 +++++++++++++++++++++--------------------- 1 file changed, 228 insertions(+), 232 deletions(-) diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index aa169e6c0..1f99bf1ad 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -1,233 +1,229 @@ -
-

{{$title}}

- -{{if $profile.canlike || $profile.like_count}} -
-{{if $profile.canlike}} - -{{/if}} - - -{{if $profile.like_count}} -
- -{{if $profile.likers}} - -{{/if}} -
-{{/if}} -
-{{/if}} - -
-
{{$profile.fullname.0}}
-
{{$profile.fullname.1}}
-
- -{{if $profile.gender}} -
-
{{$profile.gender.0}}
-
{{$profile.gender.1}}
-
-{{/if}} - -{{if $profile.birthday}} -
-
{{$profile.birthday.0}}
-
{{$profile.birthday.1}}
-
-{{/if}} - -{{if $profile.age}} -
-
{{$profile.age.0}}
-
{{$profile.age.1}}
-
-{{/if}} - -{{if $profile.marital}} -
-
{{$profile.marital.0}}
-
{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}
-
-{{/if}} - -{{if $profile.sexual}} -
-
{{$profile.sexual.0}}
-
{{$profile.sexual.1}}
-
-{{/if}} - -{{if $profile.keywords}} -
-
{{$profile.keywords.0}}
-
{{$profile.keywords.1}}
-
-{{/if}} - -{{if $profile.homepage}} -
-
{{$profile.homepage.0}}
-
{{$profile.homepage.1}}
-
-{{/if}} - -{{if $profile.hometown}} -
-
{{$profile.hometown.0}}
-
{{$profile.hometown.1}}
-
-{{/if}} - -{{if $profile.politic}} -
-
{{$profile.politic.0}}
-
{{$profile.politic.1}}
-
-{{/if}} - -{{if $profile.religion}} -
-
{{$profile.religion.0}}
-
{{$profile.religion.1}}
-
-{{/if}} - -{{if $profile.about}} -
-
{{$profile.about.0}}
-
{{$profile.about.1}}
-
-{{/if}} - -{{if $profile.interest}} -
-
{{$profile.interest.0}}
-
{{$profile.interest.1}}
-
-{{/if}} - -{{if $profile.likes}} -
-
{{$profile.likes.0}}
-
{{$profile.likes.1}}
-
-{{/if}} - -{{if $profile.dislikes}} -
-
{{$profile.dislikes.0}}
-
{{$profile.dislikes.1}}
-
-{{/if}} - -{{if $profile.contact}} -
-
{{$profile.contact.0}}
-
{{$profile.contact.1}}
-
-{{/if}} - -{{if $profile.channels}} -
-
{{$profile.channels.0}}
-
{{$profile.channels.1}}
-
-{{/if}} - - -{{if $profile.music}} -
-
{{$profile.music.0}}
-
{{$profile.music.1}}
-
-{{/if}} - - -{{if $profile.book}} -
-
{{$profile.book.0}}
-
{{$profile.book.1}}
-
-{{/if}} - - -{{if $profile.tv}} -
-
{{$profile.tv.0}}
-
{{$profile.tv.1}}
-
-{{/if}} - - -{{if $profile.film}} -
-
{{$profile.film.0}}
-
{{$profile.film.1}}
-
-{{/if}} - - -{{if $profile.romance}} -
-
{{$profile.romance.0}}
-
{{$profile.romance.1}}
-
-{{/if}} - - -{{if $profile.work}} -
-
{{$profile.work.0}}
-
{{$profile.work.1}}
-
-{{/if}} - -{{if $profile.education}} -
-
{{$profile.education.0}}
-
{{$profile.education.1}}
-
-{{/if}} - -{{foreach $profile.extra_fields as $f}} -{{if $profile.$f}} -
-
{{$profile.$f.0}}
-
{{$profile.$f.1}}
-
-{{/if}} -{{/foreach}} - - -{{if $things}} -{{foreach $things as $key => $items}} -{{$profile.fullname.1}} {{$key}} - -
-{{/foreach}} -{{/if}} - +
+
+ +

{{$title}}

+
+
+
+
+
{{$profile.fullname.0}}
+
{{$profile.fullname.1}}
+
+ + {{if $profile.gender}} +
+
{{$profile.gender.0}}
+
{{$profile.gender.1}}
+
+ {{/if}} + + {{if $profile.birthday}} +
+
{{$profile.birthday.0}}
+
{{$profile.birthday.1}}
+
+ {{/if}} + + {{if $profile.age}} +
+
{{$profile.age.0}}
+
{{$profile.age.1}}
+
+ {{/if}} + + {{if $profile.marital}} +
+
{{$profile.marital.0}}
+
{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}
+
+ {{/if}} + + {{if $profile.sexual}} +
+
{{$profile.sexual.0}}
+
{{$profile.sexual.1}}
+
+ {{/if}} + + {{if $profile.keywords}} +
+
{{$profile.keywords.0}}
+
{{$profile.keywords.1}}
+
+ {{/if}} + + {{if $profile.homepage}} +
+
{{$profile.homepage.0}}
+
{{$profile.homepage.1}}
+
+ {{/if}} + + {{if $profile.hometown}} +
+
{{$profile.hometown.0}}
+
{{$profile.hometown.1}}
+
+ {{/if}} + + {{if $profile.politic}} +
+
{{$profile.politic.0}}
+
{{$profile.politic.1}}
+
+ {{/if}} + + {{if $profile.religion}} +
+
{{$profile.religion.0}}
+
{{$profile.religion.1}}
+
+ {{/if}} + + {{if $profile.about}} +
+
{{$profile.about.0}}
+
{{$profile.about.1}}
+
+ {{/if}} + + {{if $profile.interest}} +
+
{{$profile.interest.0}}
+
{{$profile.interest.1}}
+
+ {{/if}} + + {{if $profile.likes}} +
+
{{$profile.likes.0}}
+
{{$profile.likes.1}}
+
+ {{/if}} + + {{if $profile.dislikes}} +
+
{{$profile.dislikes.0}}
+
{{$profile.dislikes.1}}
+
+ {{/if}} + + {{if $profile.contact}} +
+
{{$profile.contact.0}}
+
{{$profile.contact.1}}
+
+ {{/if}} + + {{if $profile.channels}} +
+
{{$profile.channels.0}}
+
{{$profile.channels.1}}
+
+ {{/if}} + + + {{if $profile.music}} +
+
{{$profile.music.0}}
+
{{$profile.music.1}}
+
+ {{/if}} + + + {{if $profile.book}} +
+
{{$profile.book.0}}
+
{{$profile.book.1}}
+
+ {{/if}} + + + {{if $profile.tv}} +
+
{{$profile.tv.0}}
+
{{$profile.tv.1}}
+
+ {{/if}} + + + {{if $profile.film}} +
+
{{$profile.film.0}}
+
{{$profile.film.1}}
+
+ {{/if}} + + + {{if $profile.romance}} +
+
{{$profile.romance.0}}
+
{{$profile.romance.1}}
+
+ {{/if}} + + + {{if $profile.work}} +
+
{{$profile.work.0}}
+
{{$profile.work.1}}
+
+ {{/if}} + + {{if $profile.education}} +
+
{{$profile.education.0}}
+
{{$profile.education.1}}
+
+ {{/if}} + + {{foreach $profile.extra_fields as $f}} + {{if $profile.$f}} +
+
{{$profile.$f.0}}
+
{{$profile.$f.1}}
+
+ {{/if}} + {{/foreach}} + + + {{if $things}} + {{foreach $things as $key => $items}} + {{$profile.fullname.1}} {{$key}} +
    + {{foreach $items as $item}} +
  • {{if $item.img}}{{$item.term}}{{/if}} + {{$item.term}} + {{if $profile.canlike}}
    + + {{/if}} + {{if $item.like_count}} +
    + + {{if $item.likes}} + + {{/if}} +
    + {{/if}} +
  • + {{/foreach}} +
+
+ {{/foreach}} + {{/if}} +
-- cgit v1.2.3