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:
@ -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)
|
||||
|
Reference in New Issue
Block a user