Skip to content
Snippets Groups Projects
Commit 1c0302b5 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

messages/write: removed triple text for adding recipients link, fixes #3961

Closes #3961

Merge request studip/studip!2857
parent 37844a9b
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,7 @@
->render();
$mps = MultiPersonSearch::get('add_adressees')
->setLinkText(_('Mehrere Adressaten hinzufügen'))
//->setDefaultSelectedUser($defaultSelectedUser)
->setTitle(_('Mehrere Adressaten hinzufügen'))
->setLinkText(_('Mehrere Adressaten hinzufügen'))
->setExecuteURL($controller->url_for('messages/write'))
->setJSFunctionOnSubmit('STUDIP.Messages.add_adressees')
->setSearchObject($this->mp_search_object);
......
......@@ -528,9 +528,9 @@ class MultiPersonSearch {
* sets default values of the internal variables.
*/
private function setDefaultValues() {
$this->title = _('Personen hinzufügen');
$this->title = '';
$this->description = _('Bitte wählen Sie aus, wen Sie hinzufügen möchten.');
$this->linkIconPath = Icon::create("add", "clickable", ['title' => _('Personen hinzufügen')]);
$this->linkIconPath = Icon::create('add');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment