aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/report/update-form-wrapper.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/report/update-form-wrapper.html')
-rw-r--r--templates/web/base/report/update-form-wrapper.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/web/base/report/update-form-wrapper.html b/templates/web/base/report/update-form-wrapper.html
new file mode 100644
index 000000000..3a75036cc
--- /dev/null
+++ b/templates/web/base/report/update-form-wrapper.html
@@ -0,0 +1,12 @@
+[% UNLESS c.cobrand.updates_disallowed(problem) %]
+ [% IF two_column_sidebar %]
+ <button class="btn btn--provide-update js-provide-update hidden-nojs">[% loc('Provide an update') %]</button>
+ <div class="hidden-js">
+ [% END %]
+ [% INCLUDE 'report/update-form.html' %]
+ [% IF two_column_sidebar %]
+ </div>
+ [% END %]
+[% ELSE %]
+ [% TRY %][% INCLUDE 'report/_updates_disallowed_message.html' %][% CATCH file %][% END %]
+[% END %]