diff options
author | redmatrix <git@macgirvin.com> | 2016-05-31 21:45:33 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-31 21:45:33 -0700 |
commit | b1259876bf398880e7b0c1b44d90f94983243e72 (patch) | |
tree | eb7bacfbb03df6924063c4b9a4cbe04aaccbf483 /view/tpl/profile_advanced.tpl | |
parent | dfb6255f59980835d364402b372dd39f2b41ee7c (diff) | |
download | volse-hubzilla-b1259876bf398880e7b0c1b44d90f94983243e72.tar.gz volse-hubzilla-b1259876bf398880e7b0c1b44d90f94983243e72.tar.bz2 volse-hubzilla-b1259876bf398880e7b0c1b44d90f94983243e72.zip |
more db column renames
Diffstat (limited to 'view/tpl/profile_advanced.tpl')
-rwxr-xr-x | view/tpl/profile_advanced.tpl | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index c617e6c14..a4c98b1d0 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -33,6 +33,7 @@ <div class="section-content-wrapper"> {{foreach $fields as $f}} + {{if $f == 'name'}} <dl id="aprofile-fullname" class="aprofile"> <dt>{{$profile.fullname.0}}</dt> @@ -40,6 +41,13 @@ </dl> {{/if}} + {{if $f == 'fullname'}} + <dl id="aprofile-fullname" class="aprofile"> + <dt>{{$profile.fullname.0}}</dt> + <dd>{{$profile.fullname.1}}</dd> + </dl> + {{/if}} + {{if $f == 'gender'}} {{if $profile.gender}} <dl id="aprofile-gender" class="aprofile"> @@ -72,7 +80,7 @@ {{if $profile.marital}} <dl id="aprofile-marital" class="aprofile"> <dt><span class="heart"><i class="fa fa-heart"></i> </span>{{$profile.marital.0}}</dt> - <dd>{{$profile.marital.1}}{{if in_array('with',$fields)}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{/if}}{{if in_array('howlong',$fields)}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}{{/if}}</dd> + <dd>{{$profile.marital.1}}{{if in_array('partner',$fields)}}{{if $profile.marital.partner}} ({{$profile.marital.partner}}){{/if}}{{/if}}{{if in_array('howlong',$fields)}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}{{/if}}</dd> </dl> {{/if}} {{/if}} @@ -237,11 +245,11 @@ {{/if}} - {{if $f == 'work'}} - {{if $profile.work}} + {{if $f == 'employment'}} + {{if $profile.employment}} <dl id="aprofile-work" class="aprofile"> - <dt>{{$profile.work.0}}</dt> - <dd>{{$profile.work.1}}</dd> + <dt>{{$profile.employment.0}}</dt> + <dd>{{$profile.employment.1}}</dd> </dl> {{/if}} {{/if}} |