aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-08 22:02:48 -0700
committerzotlabs <mike@macgirvin.com>2018-04-08 22:02:48 -0700
commite4ee165e296404b5ff6ed8ee252c98313f84de91 (patch)
tree2693fe3351b336a7ebcffcb4e0688658826de661 /view
parente0255c0dc45d8c670b865087336b4807d831e0fb (diff)
downloadvolse-hubzilla-e4ee165e296404b5ff6ed8ee252c98313f84de91.tar.gz
volse-hubzilla-e4ee165e296404b5ff6ed8ee252c98313f84de91.tar.bz2
volse-hubzilla-e4ee165e296404b5ff6ed8ee252c98313f84de91.zip
more work merging techlevels and features
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/settings_features.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl
index 0b65e2524..998199c8e 100755
--- a/view/tpl/settings_features.tpl
+++ b/view/tpl/settings_features.tpl
@@ -1,3 +1,12 @@
+<script>
+ $(document).ready(function() {
+ $('#id_techlevel').change(function() {
+ var techlvl = $('#id_techlevel').val();
+ window.location.href='{{$baseurl}}/settings/features?f=&techlevel=' + techlvl;
+ });
+ });
+</script>
+
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<h2>{{$title}}</h2>
@@ -11,6 +20,12 @@
{{else}}
<input type="hidden" name="techlevel" value="{{$techlevel.2}}" />
{{/if}}
+
+ {{if $hiddens}}
+ {{foreach $hiddens as $k => $v}}
+ <input type="hidden" name="feature_{{$k}}" value="{{$v}}" />
+ {{/foreach}}
+ {{/if}}
<div class="panel-group" id="settings" role="tablist" aria-multiselectable="true">
{{foreach $features as $g => $f}}
<div class="panel">