2016-03-18 12:55:35 +00:00
|
|
|
script(type='text/ng-template', id='supportModalTemplate')
|
|
|
|
.modal-header
|
|
|
|
button.close(
|
|
|
|
type="button"
|
|
|
|
data-dismiss="modal"
|
|
|
|
ng-click="close()"
|
|
|
|
) ×
|
2016-03-24 12:05:54 +00:00
|
|
|
h3 #{translate("contact_us")}
|
2016-03-21 11:41:05 +00:00
|
|
|
.modal-body.contact-us-modal
|
2016-03-18 12:55:35 +00:00
|
|
|
span(ng-show="sent == false")
|
|
|
|
label
|
2016-03-24 12:05:54 +00:00
|
|
|
| #{translate("subject")}
|
2016-03-18 12:55:35 +00:00
|
|
|
.form-group
|
2016-06-24 10:02:29 +00:00
|
|
|
input.field.text.medium.span8.form-control(
|
|
|
|
ng-model="form.subject",
|
|
|
|
ng-model-options="{ updateOn: 'default blur', debounce: {'default': 350, 'blur': 0} }"
|
|
|
|
maxlength='255',
|
|
|
|
tabindex='1',
|
|
|
|
onkeyup='')
|
2016-06-24 16:10:18 +00:00
|
|
|
.contact-suggestions(ng-show="suggestions.length")
|
2016-07-12 10:44:48 +00:00
|
|
|
p.contact-suggestion-label !{translate("kb_suggestions_enquiry", { kbLink: "<a href='learn/kb' target='_blank'>__kb__</a>", kb: translate("knowledge_base") })}
|
2016-06-23 11:08:13 +00:00
|
|
|
ul.contact-suggestion-list
|
2016-06-24 16:10:18 +00:00
|
|
|
li(ng-repeat="suggestion in suggestions")
|
2016-07-11 13:27:07 +00:00
|
|
|
a.contact-suggestion-list-item(ng-href="{{ suggestion.url }}", ng-click="clickSuggestionLink(suggestion.url);" target="_blank")
|
2016-06-24 16:10:18 +00:00
|
|
|
span(ng-bind-html="suggestion.name")
|
|
|
|
i.fa.fa-angle-right
|
2016-04-04 15:05:42 +00:00
|
|
|
label.desc(ng-show="'#{getUserEmail()}'.length < 1")
|
2016-03-24 12:05:54 +00:00
|
|
|
| #{translate("email")}
|
2016-04-04 15:05:42 +00:00
|
|
|
.form-group(ng-show="'#{getUserEmail()}'.length < 1")
|
2016-03-21 11:41:05 +00:00
|
|
|
input.field.text.medium.span8.form-control(ng-model="form.email", ng-init="form.email = '#{getUserEmail()}'", type='email', spellcheck='false', value='', maxlength='255', tabindex='2')
|
2016-03-18 12:55:35 +00:00
|
|
|
label#title12.desc
|
2016-03-24 12:05:54 +00:00
|
|
|
| #{translate("project_url")} (#{translate("optional")})
|
2016-03-18 12:55:35 +00:00
|
|
|
.form-group
|
|
|
|
input.field.text.medium.span8.form-control(ng-model="form.project_url", tabindex='3', onkeyup='')
|
|
|
|
label.desc
|
2016-07-11 15:24:06 +00:00
|
|
|
| #{translate("contact_message_label")}
|
2016-03-18 12:55:35 +00:00
|
|
|
.form-group
|
2016-05-10 09:44:51 +00:00
|
|
|
textarea.field.text.medium.span8.form-control(ng-model="form.message",type='text', value='', tabindex='4', onkeyup='')
|
2016-03-18 12:55:35 +00:00
|
|
|
.form-group.text-center
|
2016-03-24 12:05:54 +00:00
|
|
|
input.btn-success.btn.btn-lg(type='submit', ng-disabled="sending", ng-click="contactUs()" value='#{translate("contact_us")}')
|
2016-03-18 12:55:35 +00:00
|
|
|
span(ng-show="sent")
|
2016-03-24 12:05:54 +00:00
|
|
|
p #{translate("request_sent_thank_you")}
|