aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_advanced.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-01 22:47:07 -0800
committerredmatrix <git@macgirvin.com>2016-03-01 22:47:07 -0800
commit428b4dbad63d429c3b0d47b49ff5918dbda3c596 (patch)
tree9f310f9f77dbc57eda24e69305e608f35dd04916 /view/tpl/profile_advanced.tpl
parent548bf884a4b34a4881f3188e54c592597f755dc9 (diff)
downloadvolse-hubzilla-428b4dbad63d429c3b0d47b49ff5918dbda3c596.tar.gz
volse-hubzilla-428b4dbad63d429c3b0d47b49ff5918dbda3c596.tar.bz2
volse-hubzilla-428b4dbad63d429c3b0d47b49ff5918dbda3c596.zip
sort out the with and howlong dependencies
Diffstat (limited to 'view/tpl/profile_advanced.tpl')
-rwxr-xr-xview/tpl/profile_advanced.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
index 034a6d43d..a724c41bb 100755
--- a/view/tpl/profile_advanced.tpl
+++ b/view/tpl/profile_advanced.tpl
@@ -72,7 +72,7 @@
{{if $profile.marital}}
<dl id="aprofile-marital" class="aprofile">
<dt><span class="heart">&hearts;</span> {{$profile.marital.0}}</dt>
- <dd>{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}</dd>
+ <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>
</dl>
{{/if}}
{{/if}}