From aca3220d0b6fd0d03245dfdd6121ec09d89e2b45 Mon Sep 17 00:00:00 2001 From: PavelBegunkov <asml.silence@gmail.com> Date: Fri, 4 Sep 2015 11:27:32 +0300 Subject: [PATCH] .8 .11, delete unused faculties select and edit manual --- .../classes/Controller/Office/Students.php | 3 +-- .../application/views/office/students/upload.twig | 11 ++--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/~dev_rating/application/classes/Controller/Office/Students.php b/~dev_rating/application/classes/Controller/Office/Students.php index 35cf996d5..a9f97c765 100644 --- a/~dev_rating/application/classes/Controller/Office/Students.php +++ b/~dev_rating/application/classes/Controller/Office/Students.php @@ -38,8 +38,7 @@ class Controller_Office_Students extends Controller_Environment_Office } $this->twig->set([ - 'Errors' => $errors, - 'Faculties' => Model_Faculties::load(), + 'Errors' => $errors ])->set_filename(static::OFFICE . 'students/upload'); } diff --git a/~dev_rating/application/views/office/students/upload.twig b/~dev_rating/application/views/office/students/upload.twig index 32741402b..7e42c3f7b 100644 --- a/~dev_rating/application/views/office/students/upload.twig +++ b/~dev_rating/application/views/office/students/upload.twig @@ -16,16 +16,9 @@ <p>Рнструмент пакетной загрузки студентов предоставляет возможность регистрировать РІ системе множество студентов.</p> <p>Файл СЃРѕ СЃРїРёСЃРєРѕРј студентов представляет СЃРѕР±РѕР№ <code>.txt</code>-файл, который должен иметь следующий формат:</p> - <p><pre>Р¤РРћ;РљСѓСЂСЃ;Группа;[Бакалавр, Специалист, Магистр];Специальность</pre></p> + <p><pre>Р¤РРћ;РљСѓСЂСЃ;Группа;Уровень подготовки;Специальность</pre></p> + <p>Уровень подготовки - РѕРґРЅРѕ РёР· следующих значений: Бакалавр, Специалист, Магистр</p> <form enctype="multipart/form-data" action="" method="POST"> - <div class="goodClearFix defaultForm marginBetween"> - <select id="facultySelect" name="facultyID" class="defaultForm"> - <option value="0" selected="selected">— Выберите подразделение ЮФУ —</option> - {% for row in Faculties %} - <option value="{{ row.ID }}">{{ row.Name }} ({{ row.Abbr }})</option> - {% endfor %} - </select> - </div> <div class="goodClearFix"> <div class="defaultForm FLeft"><input name="students" class="defaultForm FullWidth" type="file"></div> <div class="defaultForm FRight"><input type="submit" class="defaultForm GreenButton P2Width noMargin" value="Загрузить"></div> -- GitLab