Commit 44c72079 authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't allow feedback on user's introductions.

A minor whitespace fix also.
parent 7b2c02e5
......@@ -374,6 +374,7 @@ class ArtefactTypeProfile extends ArtefactType {
public function in_view_list() {
return false;
}
public function display_title($maxlen=null) {
return get_string($this->get('artefacttype'), 'artefact.internal');
}
......@@ -456,11 +457,7 @@ class ArtefactTypeEmail extends ArtefactTypeProfileField {
}
class ArtefactTypeStudentid extends ArtefactTypeProfileField {}
class ArtefactTypeIntroduction extends ArtefactTypeProfileField {
public function in_view_list() {
return true;
}
}
class ArtefactTypeIntroduction extends ArtefactTypeProfileField {}
class ArtefactTypeWebAddress extends ArtefactTypeProfileField {
public function render_self($options) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment