forked from aslan/applicant-site
Merge pull request 'EGE bug fix' (#56) from RomanGolienko/Roman_applicant-site:feature/visually-impaired-mode into main
Reviewed-on: http://gitea.mkgtu.ru/aslan/applicant-site/pulls/56
This commit is contained in:
commit
7f6b65175b
|
@ -55,10 +55,16 @@ class DirectonHtmlBuilder
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class=" d-inline-block p-2 text-start">';
|
<div class=" d-inline-block p-2 text-start">';
|
||||||
|
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])){
|
||||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||||
}
|
}
|
||||||
$EGE .= '</div></div>';
|
$EGE .= '</div></div>';
|
||||||
|
} else {
|
||||||
|
$EGE = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$po_viboru = '<div class="col-auto ">
|
$po_viboru = '<div class="col-auto ">
|
||||||
<strong> Предметы по выбору </strong>
|
<strong> Предметы по выбору </strong>
|
||||||
|
|
|
@ -55,11 +55,14 @@ class DirectonHtmlBuilderForCalculator
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<div class=" d-inline-block p-2 text-start">';
|
<div class=" d-inline-block p-2 text-start">';
|
||||||
|
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])) {
|
||||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>';
|
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>';
|
||||||
}
|
}
|
||||||
$EGE .= '</div></div>';
|
$EGE .= '</div></div>';
|
||||||
|
} else {
|
||||||
|
$EGE = '';
|
||||||
|
}
|
||||||
$po_viboru = '<div class="col-auto ">
|
$po_viboru = '<div class="col-auto ">
|
||||||
<strong> Предметы по выбору </strong>
|
<strong> Предметы по выбору </strong>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in New Issue