Added support for showing list of author by clicking author.

This commit is contained in:
Max Klaversma
2014-05-01 00:31:38 +02:00
committed by Steffen Schröder
parent ffbde69c7f
commit 490c9b81af
2 changed files with 18 additions and 1 deletions

View File

@ -316,7 +316,8 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
* @var Label $label
*/
$label = $labels[3];
$description = '$<' . $map->name . '$> made by $<' . $map->authorLogin . '$>';
$description = 'Click to checkout all maps by $<' . $map->authorLogin . '$>!';
$label->setAction(MapCommands::ACTION_SHOW_AUTHOR . $map->authorLogin);
$label->addTooltipLabelFeature($descriptionLabel, $description);
}