blob: 8961b43c6484074b37329c654e268219e17c6616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<div title="{{ 'Feedback_RateFeatureTitle'|translate:rateFeature.title }}" class="ratefeature">
<div class="iconContainer"
ng-mouseenter="view.expanded=true;"
ng-mouseleave="view.expanded=false">
<img ng-click="rateFeature.likeFeature();view.showFeedbackForm=true;"
class="like-icon"
src="plugins/Feedback/angularjs/ratefeature/thumbs-up.png"/>
<img ng-click="rateFeature.dislikeFeature();view.showFeedbackForm=true;"
class="dislike-icon"
ng-show="view.expanded"
src="plugins/Feedback/angularjs/ratefeature/thumbs-down.png"/>
</div>
<div class="ui-confirm ratefeatureDialog" piwik-dialog="view.showFeedbackForm" yes="rateFeature.sendFeedback(view.feedbackMessage)">
<h2>{{ 'Feedback_RateFeatureThankYouTitle'|translate:title }}</h2>
<p ng-if="rateFeature.like">{{ 'Feedback_RateFeatureLeaveMessageLike'|translate }}</p>
<p ng-if="!rateFeature.like">{{ 'Feedback_RateFeatureLeaveMessageDislike'|translate }}</p>
<br />
<div class="messageContainer">
<textarea ng-model="view.feedbackMessage"></textarea>
</div>
<input type="button"
title="{{ 'Feedback_RateFeatureSendFeedbackInformation'|translate }}"
value="{{ 'Feedback_SendFeedback'|translate }}" role="yes"/>
</div>
<div class="ui-confirm ratefeatureDialog" piwik-dialog="rateFeature.ratingDone" yes="">
<h2>{{ 'Feedback_ThankYou'|translate:rateFeature.title }}</h2>
<input type="button" value="{{ 'General_Ok'|translate }}" role="yes"/>
</div>
</div>
|