aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-08-31 17:49:22 -0700
committerredmatrix <mike@macgirvin.com>2016-08-31 17:49:22 -0700
commitea0be8ea1a22abfdedae0d0c47677a9de44e08c0 (patch)
tree277e9a08e4958fef0801aeb83f73d2fb3cbee952 /view
parente9462ba14529b7172ba5a21e7985d24de91faa37 (diff)
downloadvolse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.gz
volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.bz2
volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.zip
provide techlevels in the pro server role. Should have no visible effect on other roles.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/settings_account.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/settings_account.tpl b/view/tpl/settings_account.tpl
index 06f47bbe1..4a94bb93d 100755
--- a/view/tpl/settings_account.tpl
+++ b/view/tpl/settings_account.tpl
@@ -11,6 +11,13 @@
{{include file="field_password.tpl" field=$origpass}}
{{include file="field_password.tpl" field=$password1}}
{{include file="field_password.tpl" field=$password2}}
+
+ {{if $z_server_role == 'pro'}}
+ {{include file="field_select.tpl" field=$techlevel}}
+ {{else}}
+ <input type="hidden" name="techlevel" value="{{$techlevel.2}}" />
+ {{/if}}
+
<div class="settings-submit-wrapper" >
<button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
</div>