MDL-55668 assign: Don't link to user profile if blind marking is enabled

This commit is contained in:
Damyon Wiese
2016-08-24 11:39:48 +01:00
committed by Dan Poltawski
parent e90dfb32ae
commit 1fc7e6b184
@@ -37,4 +37,4 @@
"profileimageurl": "https://moodle.org/pix/u/f3.png"
}
}}
<h4><a href="{{globals.config.wwwroot}}/user/view.php?id={{id}}&course={{courseid}}">{{#profileimageurl}}<img src="{{profileimageurl}}" class="img-rounded" height="40" role="presentation"/>{{/profileimageurl}} {{fullname}}{{#hasidentity}}<em><small> {{identity}} </small></em>{{/hasidentity}}</a></h4>
<h4>{{^blindmarking}}<a href="{{globals.config.wwwroot}}/user/view.php?id={{id}}&course={{courseid}}">{{/blindmarking}}{{#profileimageurl}}<img src="{{profileimageurl}}" class="img-rounded" height="40" role="presentation"/>{{/profileimageurl}} {{fullname}}{{#hasidentity}}<em><small> {{identity}} </small></em>{{/hasidentity}}{{^blindmarking}}</a>{{/blindmarking}}</h4>