Bug 11598
| Summary: | Missing facility name in facility editing page | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sir Raorn <raorn> |
| Component: | alterator-control | Assignee: | Andrey Cherepanov <cas> |
| Status: | ASSIGNED --- | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P2 | CC: | cas, shakirov |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
VOTE FOR NOBODY Nobody will keep election promises Nobody will listen to your concerns Nobody will help the poor and unemployed Nobody cares! If nobody is elected, things will be better for everyone! NOBODY TELLS THE TRUTH Не закрывай то, что могут починить другие. Nobody will fix bugs! (В ответ на комментарий №3) > Nobody will fix bugs! А что, смену assigned не видел? А ты что, видел смену статуса? Я сменил исполнителя на себя. Если твоя мятущаяся душа хочет и статус поменять, ради тебя пойду и на такое! :) Исправлено? alterator-control-2.1-alt1 (В ответ на комментарий №7) > Исправлено? > alterator-control-2.1-alt1 Нет, в веб-интерфейсе не видно. Хотя поправить несложно. В alterator-control 2.2-alt1 (последняя сборка 2009) форма редактирования (ui/control/index.html) по-прежнему не показывает имя выбранного facility — только список сверху и Mode/Help. Патч: строка «Facility: <имя>» над Mode/Help, значение выставляется в ui-read-facility при каждом выборе. В веб-интерфейсе не гонял — патч примерный.
--- a/ui/control/ajax.scm
+++ b/ui/control/ajax.scm
@@ -15,6 +15,7 @@
(define (ui-read-facility)
(catch/message
(lambda()
+ (form-update-value "current_name" (form-value "name"))
(form-update-enum
"mode"
(woo-call "/control/list_state" 'name (form-value "name")))
--- a/ui/control/index.html
+++ b/ui/control/index.html
@@ -24,6 +24,9 @@
<td colspan="2"> </td>
</tr>
<tr>
+ <td colspan="2"><span translate="_">Facility:</span> <b><span class="alterator-label" name="current_name"/></b></td>
+ </tr>
+ <tr>
<td><span translate="_">Mode:</span></td>
<td><span translate="_">Help:</span></td>
</tr>
|

Description
Sir Raorn 2007-04-22 16:52:00 MSD