Skip to content

Commit

Permalink
MDL-53254 tags: little fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Mar 22, 2016
1 parent 21d9596 commit cbecc3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/amd/build/tag.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/amd/src/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/str'
]).done(function(s) {
var el = $('<div><form id="addtagcoll_form" class="form-inline">'+
'<p><label for="addtagcoll_name"></label>: ' +
'<input id="addtagcoll_name" type="text"/><br/>' +
'<label for="addtagcoll_searchable"></label>: ' +
'<input id="addtagcoll_name" type="text"/></p>' +
'<p><label for="addtagcoll_searchable"></label>: ' +
'<input id="addtagcoll_searchable" type="checkbox" value="1" checked/></p>' +
'<p class="mdl-align"><input type="submit" id="addtagcoll_submit"/>'+
'<input type="button" id="addtagcoll_cancel"/></p>' +
Expand Down
4 changes: 2 additions & 2 deletions tag/classes/output/tagcollsearchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ public function __construct($tagcoll) {
*/
public function export_for_template(\renderer_base $output) {
if ($this->value) {
$this->displayvalue = get_string('yes');
$this->displayvalue = $output->pix_icon('i/checked', get_string('yes'));
} else {
$this->displayvalue = get_string('no');
$this->displayvalue = $output->pix_icon('i/unchecked', get_string('no'));
}

return parent::export_for_template($output);
Expand Down

0 comments on commit cbecc3c

Please sign in to comment.