1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 13:37:22 +02:00

Design pages "Rejoindre une équipe" et "Informations"

This commit is contained in:
galaxyoyo
2019-09-25 00:57:41 +02:00
parent 615f2da9a4
commit 371605d265
5 changed files with 56 additions and 37 deletions

View File

@ -115,8 +115,7 @@ function canValidate(Team $team)
function printDocuments($documents)
{
global $URL_BASE;
echo "<div class=\"alert alert-info\">\n";
foreach ($documents as $document) {
$file_id = $document->getFileId();
$user = User::fromId($document->getUserId());
@ -124,8 +123,9 @@ function printDocuments($documents)
$first_name = $user->getFirstName();
$name = DocumentType::getTranslatedName($document->getType());
$version = $document->getVersion();
echo "$name de $first_name $surname (version $version) : <a href=\"/file/$file_id\">Télécharger</a><br />";
echo "$name de $first_name $surname (version $version) : <a href=\"/file/$file_id\"><strong>Télécharger</strong></a><br />\n";
}
echo "</div>\n";
}
function getZipFile($problem, $team_id = -1)