summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl6
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/header.html.tmpl3
-rw-r--r--extensions/BugModal/template/en/default/hook/global/setting-descs-settings.none.tmpl1
3 files changed, 9 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index ddf37a26c..2663d5562 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -1015,6 +1015,12 @@
[% END %]
[% END %]
+[%# === initialise module visibility === %]
+
+<script>
+ init_module_visibility();
+</script>
+
[%# === top (between modules and comments) actions === %]
[% IF user.id %]
diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
index 7fdb2ed49..361b9ec9d 100644
--- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
@@ -99,7 +99,8 @@
can_tag: [% user.can_tag_comments ? "true" : "false" %],
settings: {
quote_replies: '[% user.settings.quote_replies.value FILTER js %]',
- zoom_textareas: [% user.settings.zoom_textareas.value == "on" ? "true" : "false" %]
+ zoom_textareas: [% user.settings.zoom_textareas.value == "on" ? "true" : "false" %],
+ remember_collapsed: [% user.settings.ui_remember_collapsed.value == "on" ? "true" : "false" %]
}
};
[% IF user.id %]
diff --git a/extensions/BugModal/template/en/default/hook/global/setting-descs-settings.none.tmpl b/extensions/BugModal/template/en/default/hook/global/setting-descs-settings.none.tmpl
index 7214977bb..4ca9c3003 100644
--- a/extensions/BugModal/template/en/default/hook/global/setting-descs-settings.none.tmpl
+++ b/extensions/BugModal/template/en/default/hook/global/setting-descs-settings.none.tmpl
@@ -8,4 +8,5 @@
[%
setting_descs.ui_experiments = "Use experimental user interface"
+ setting_descs.ui_remember_collapsed = "Remember visibility of header sections when viewing a bug"
%]