diff --git a/app/components/crate-sidebar.hbs b/app/components/crate-sidebar.hbs index 1c1d068437b..1ace1a533e7 100644 --- a/app/components/crate-sidebar.hbs +++ b/app/components/crate-sidebar.hbs @@ -130,11 +130,13 @@ {{/unless}} {{/if}} - Report crate - + \ No newline at end of file diff --git a/app/components/footer.hbs b/app/components/footer.hbs index 93551e6bad8..2e0cc9b2680 100644 --- a/app/components/footer.hbs +++ b/app/components/footer.hbs @@ -13,7 +13,7 @@

Get Help

diff --git a/app/components/footer.js b/app/components/footer.js new file mode 100644 index 00000000000..be7f32a6ce4 --- /dev/null +++ b/app/components/footer.js @@ -0,0 +1,11 @@ +import { inject as service } from '@ember/service'; +import Component from '@glimmer/component'; + +export default class Footer extends Component { + @service pristineQuery; + + get pristineSupportQuery() { + let params = this.pristineQuery.paramsFor('support'); + return params; + } +} diff --git a/app/components/support/crate-report-form.hbs b/app/components/support/crate-report-form.hbs new file mode 100644 index 00000000000..499579d5762 --- /dev/null +++ b/app/components/support/crate-report-form.hbs @@ -0,0 +1,89 @@ +
+

Report A Crate

+ +
+ {{#let (unique-id) as |id|}} + + + {{#if this.crateInvalid}} +
+ Please specify a crate. +
+ {{/if}} + {{/let}} +
+ +
+
Reasons
+ + {{#if this.reasonsInvalid}} +
+ Please choose reasons to report. +
+ {{/if}} +
+ +
+ {{#let (unique-id) as |id|}} + +