aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-01 01:24:03 -0700
committerfriendica <info@friendica.com>2014-08-01 01:24:03 -0700
commitff8351437eab90786b99b940d31dacd133034f09 (patch)
treef768810c810a0d57127a5629e0fd41b9f4311c7e /view
parent1199fe415a4fa19f34ca795cba200f795597c29e (diff)
downloadvolse-hubzilla-ff8351437eab90786b99b940d31dacd133034f09.tar.gz
volse-hubzilla-ff8351437eab90786b99b940d31dacd133034f09.tar.bz2
volse-hubzilla-ff8351437eab90786b99b940d31dacd133034f09.zip
make the profile minimal by default. Use features to enable the advanced form.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/profile_edit.tpl41
1 files changed, 30 insertions, 11 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index edc93143e..22e92390b 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -41,7 +41,11 @@
<div id="profile-edit-gender-wrapper" >
<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
+{{if $advanced}}
{{$gender}}
+{{else}}
+{{$gender_min}}
+{{/if}}
</div>
<div id="profile-edit-gender-end"></div>
@@ -106,7 +110,11 @@
<div id="profile-edit-marital-wrapper" >
<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label>
+{{if $advanced}}
{{$marital}}
+{{else}}
+{{$marital_min}}
+{{/if}}
</div>
<div class="clear"></div>
<label id="profile-edit-with-label" for="profile-edit-with" > {{$lbl_with}} </label>
@@ -119,7 +127,11 @@
<div id="profile-edit-sexual-wrapper" >
<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label>
+{{if $advanced}}
{{$sexual}}
+{{else}}
+{{$sexual_min}}
+{{/if}}
</div>
<div id="profile-edit-sexual-end"></div>
@@ -131,6 +143,8 @@
</div>
<div id="profile-edit-homepage-end"></div>
+{{if $advanced}}
+
<div id="profile-edit-politic-wrapper" >
<label id="profile-edit-politic-label" for="profile-edit-politic" >{{$lbl_politic}} </label>
<input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic}}" />
@@ -143,6 +157,8 @@
</div>
<div id="profile-edit-religion-end"></div>
+{{/if}}
+
<div id="profile-edit-pubkeywords-wrapper" >
<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$lbl_pubkey}} </label>
<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$keywords}}" />
@@ -165,6 +181,19 @@
<div id="about-jot-end"></div>
+
+<div id="contact-jot-wrapper" >
+<p id="contact-jot-desc" >
+{{$lbl_social}}
+</p>
+
+<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact}}</textarea>
+
+</div>
+<div id="contact-jot-end"></div>
+
+{{if $advanced}}
+
<div id="interest-jot-wrapper" >
<p id="interest-jot-desc" >
{{$lbl_hobbies}}
@@ -198,16 +227,6 @@
<div id="dislikes-jot-end"></div>
-<div id="contact-jot-wrapper" >
-<p id="contact-jot-desc" >
-{{$lbl_social}}
-</p>
-
-<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact}}</textarea>
-
-</div>
-<div id="contact-jot-end"></div>
-
<div id="channels-jot-wrapper" >
<p id="channels-jot-desc" >
{{$lbl_channels}}
@@ -309,7 +328,7 @@
</div>
<div id="education-jot-end"></div>
-
+{{/if}}
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />