-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #290 - Creating page to bind teachers to the selective process
- Loading branch information
1 parent
121b4eb
commit 618645c
Showing
6 changed files
with
135 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
application/modules/program/views/selection_process/define_teachers.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<h2 class="principal">Vincular docentes ao processo seletivo </h2> | ||
|
||
<?php buildTableDeclaration(); ?> | ||
<?php | ||
buildTableHeaders([ | ||
'Nome', | ||
'E-mail', | ||
'Programa', | ||
'Ações' | ||
]); | ||
?> | ||
|
||
<?php if(!empty($teachers)): ?> | ||
<?php foreach ($teachers as $teacher): ?> | ||
|
||
<tr> | ||
<td><?= $teacher['name'] ?></td> | ||
<td><?= $teacher['email'] ?></td> | ||
<td><?= $teacher['program_name'] ?></td> | ||
<td> | ||
<?= anchor('selection_process/define_teacher/', "<i class='fa fa-plus'></i> Vincular docente", "class='btn btn-primary'") ?> | ||
</td> | ||
</tr> | ||
|
||
<?php endforeach ?> | ||
<?php else: ?> | ||
<?= callout('info', 'Nenhum docente cadastrado nos cursos deste programa.') ?> | ||
<?php endif ?> | ||
|
||
<?php buildTableEndDeclaration(); ?> | ||
|
Oops, something went wrong.