-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio fixes: make audio download URL safe; don't show flagging modal …
…if all translations are flagged; use templateUrl for modals. (#3709)
- Loading branch information
Showing
19 changed files
with
242 additions
and
204 deletions.
There are no files selected for viewing
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
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
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
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
15 changes: 0 additions & 15 deletions
15
core/templates/dev/head/pages/exploration_player/exploration_successfully_flagged_modal.html
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...s/dev/head/pages/exploration_player/exploration_successfully_flagged_modal_directive.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="modal-header"> | ||
<h3><['I18N_PLAYER_REPORT_SUCCESS_MODAL_HEADER' | translate]></h3> | ||
</div> | ||
|
||
<div class="modal-body"> | ||
<p> | ||
<['I18N_PLAYER_REPORT_SUCCESS_MODAL_BODY' | translate]> | ||
</p> | ||
</div> | ||
|
||
<div class="modal-footer"> | ||
<button class="btn btn-default" ng-click="close()"><['I18N_PLAYER_REPORT_SUCCESS_MODAL_CLOSE' | translate]></button> | ||
</div> |
45 changes: 0 additions & 45 deletions
45
core/templates/dev/head/pages/exploration_player/flag_exploration_modal.html
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
core/templates/dev/head/pages/exploration_player/flag_exploration_modal_directive.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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="modal-header"> | ||
<h3> | ||
<span><['I18N_PLAYER_REPORT_MODAL_HEADER' | translate]></span> | ||
</h3> | ||
</div> | ||
<div class="modal-body oppia-long-text"> | ||
<h4> | ||
<span><b><['I18N_PLAYER_REPORT_MODAL_BODY_HEADER' | translate]></b></span> | ||
</h4> | ||
<form> | ||
<div class="radio"> | ||
<label> | ||
<input type="radio" value="ad" ng-model="flag" ng-change="showFlagMessageTextarea(flag)"> | ||
<['I18N_PLAYER_REPORT_MODAL_BODY_AD' | translate]> | ||
</label> | ||
</div> | ||
<div class="radio"> | ||
<label> | ||
<input type="radio" value="poor_experience" ng-model="flag" ng-change="showFlagMessageTextarea(flag)"> | ||
<['I18N_PLAYER_REPORT_MODAL_BODY_POOR_EXPERIENCE' | translate]> | ||
</label> | ||
</div> | ||
<div class="radio"> | ||
<label> | ||
<input type="radio" value="other" ng-model="flag" ng-change="showFlagMessageTextarea(flag)"> | ||
<['I18N_PLAYER_REPORT_MODAL_BODY_OTHER' | translate]> | ||
</label> | ||
<p ng-show="flagMessageTextareaIsShown"> | ||
<['I18N_PLAYER_REPORT_MODAL_BODY_ADDITIONAL_DETAILS' | translate]> | ||
<textarea rows="3" cols="50" ng-model="flagMessage" class="form-control" focus-on="flagMessageTextarea"> | ||
</textarea> | ||
</p> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="modal-footer"> | ||
<button class="btn btn-default" ng-click="cancel()"> | ||
<['I18N_PLAYER_REPORT_MODAL_FOOTER_CANCEL' | translate]> | ||
</button> | ||
<button class="btn btn-success" ng-click="submitReport()" ng-disabled="!flagMessage"> | ||
<['I18N_PLAYER_REPORT_MODAL_FOOTER_SUBMIT' | translate]> | ||
</button> | ||
</div> |
Oops, something went wrong.