-
-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 4.2.x] Fix user application feedback (#8204)
* Fix user application feedback * Update setting help text and change in the footer the 'Contact' after the 'About' link
- Loading branch information
Showing
15 changed files
with
267 additions
and
56 deletions.
There are no files selected for viewing
Binary file added
BIN
+3.1 KB
...s/administrator-guide/configuring-the-catalog/img/application-feedback-link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.8 KB
...l/docs/administrator-guide/configuring-the-catalog/img/application-feedback.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 58 additions & 15 deletions
73
web-ui/src/main/resources/catalog/components/contactus/partials/contactusform.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,74 @@ | ||
<form class="form-horizontal" role="form" id="gn-contact-us-form"> | ||
<form class="form-horizontal" role="form" id="gn-contact-us-form" name="gnContactUsForm"> | ||
<input type="hidden" name="_csrf" value="{{csrf}}" /> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label" data-translate="">name</label> | ||
<div class="form-group gn-required"> | ||
<label class="col-sm-3 control-label gn-required" data-translate="">name</label> | ||
<div class="col-sm-9"> | ||
<input type="text" class="form-control" name="name" data-ng-model="user.name" /> | ||
<input | ||
type="text" | ||
class="form-control" | ||
name="name" | ||
data-ng-required="true" | ||
data-ng-model="feedbackModel.name" | ||
/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label" data-translate="">email</label> | ||
<div class="form-group gn-required"> | ||
<label class="col-sm-3 control-label gn-required" data-translate="">email</label> | ||
<div class="col-sm-9"> | ||
<input type="email" class="form-control" name="email" ata-ng-model="user.email" /> | ||
<input | ||
type="email" | ||
class="form-control" | ||
name="email" | ||
data-ng-required="true" | ||
data-ng-model="feedbackModel.email" | ||
/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label" data-translate="">organization</label> | ||
<div class="form-group gn-required"> | ||
<label class="col-sm-3 control-label gn-required" data-translate="" | ||
>organization</label | ||
> | ||
<div class="col-sm-9"> | ||
<input type="text" class="form-control" name="org" /> | ||
<input | ||
type="text" | ||
class="form-control" | ||
name="org" | ||
data-ng-required="true" | ||
data-ng-model="feedbackModel.org" | ||
/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label" data-translate="">comments</label> | ||
<div class="form-group gn-required"> | ||
<label class="col-sm-3 control-label gn-required" data-translate="">comments</label> | ||
<div class="col-sm-9"> | ||
<textarea class="form-control" name="comments" data-gn-autogrow="" /> | ||
<textarea | ||
class="form-control" | ||
name="comments" | ||
data-ng-required="true" | ||
data-gn-autogrow="" | ||
data-ng-model="feedbackModel.comments" | ||
></textarea> | ||
</div> | ||
</div> | ||
<button class="btn btn-primary pull-right" data-ng-click="send('#gn-contact-us-form')"> | ||
|
||
<div class="form-group" data-ng-if="recaptchaEnabled"> | ||
<div vc-recaptcha class="col-lg-8" theme="'light'" key="recaptchaKey"></div> | ||
|
||
<span | ||
class="col-lg-8" | ||
style="color: red" | ||
data-ng-show="resolveRecaptcha" | ||
data-translate="" | ||
> | ||
resolveCaptcha | ||
</span> | ||
</div> | ||
|
||
<button | ||
class="btn btn-primary pull-right" | ||
data-ng-click="send(gnContactUsForm, '#gn-contact-us-form')" | ||
data-ng-disabled="!gnContactUsForm.$valid" | ||
> | ||
<i class="fa fa-envelope"></i> <span data-translate="">send</span> | ||
</button> | ||
<p class="alert alert-info" data-ng-if="success" data-translate="">feebackSent</p> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.