Display transport status instead of service id
This commit is contained in:
parent
02ebaad60c
commit
0b35fe7342
1 changed files with 3 additions and 3 deletions
|
@ -122,16 +122,16 @@ ajax_transport_build_list(http_connection_t *hc, tcp_queue_t *tq,
|
|||
tcp_qprintf(tq, "<form id=\"transports\">");
|
||||
|
||||
ajax_table_top(&ta, hc, tq,
|
||||
(const char *[]){"", "ServiceID", "Crypto",
|
||||
(const char *[]){"", "Last status", "Crypto",
|
||||
"Type", "Source service",
|
||||
"", "Target channel", "", NULL},
|
||||
(int[]){3,5,4,4,12,3,12,1});
|
||||
(int[]){3,6,4,4,12,3,12,1});
|
||||
|
||||
LIST_FOREACH(t, tlist, tht_tmp_link) {
|
||||
ajax_table_row_start(&ta, t->tht_identifier);
|
||||
ajax_table_cell_detail_toggler(&ta);
|
||||
|
||||
ajax_table_cell(&ta, NULL, "%d", t->tht_dvb_service_id);
|
||||
ajax_table_cell(&ta, "status", transport_status_to_text(t->tht_status));
|
||||
ajax_table_cell(&ta, NULL, "%s", t->tht_scrambled ? "Yes" : "No");
|
||||
ajax_table_cell(&ta, NULL, "%s", transport_servicetype_txt(t));
|
||||
ajax_table_cell(&ta, NULL, "%s", t->tht_svcname ?: "");
|
||||
|
|
Loading…
Add table
Reference in a new issue