Commit bff0b95a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Drop critical rss link from front page

   RSS for Critical was a duplication
parent 19d2fa08
...@@ -245,8 +245,7 @@ ...@@ -245,8 +245,7 @@
"Pending Tickets to Process", "Pending Tickets to Process",
"Dashboard", "Dashboard",
"Show All Tickets", "Show All Tickets",
"RSS", "RSS"
"Critical"
]; ];
return new RSVP.Queue() return new RSVP.Queue()
.push(function () { .push(function () {
...@@ -254,8 +253,7 @@ ...@@ -254,8 +253,7 @@
gadget.getDeclaredGadget('last'), gadget.getDeclaredGadget('last'),
gadget.getTranslationList(translation_list1), gadget.getTranslationList(translation_list1),
gadget.getUrlFor({command: 'change', options: {page: "slap_ticket_list"}}), gadget.getUrlFor({command: 'change', options: {page: "slap_ticket_list"}}),
gadget.getUrlFor({command: 'change', options: {page: "slap_rss_ticket"}}), gadget.getUrlFor({command: 'change', options: {page: "slap_rss_ticket"}})
gadget.getUrlFor({command: 'change', options: {page: "slap_rss_critical_ticket"}})
]); ]);
}) })
.push(function (result) { .push(function (result) {
...@@ -271,11 +269,7 @@ ...@@ -271,11 +269,7 @@
domsugar("a", domsugar("a",
{"class": "ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss", {"class": "ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss",
"text": result[1][6], "text": result[1][6],
"href": result[3]}), "href": result[3]})
domsugar("a",
{"class": "ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss",
"text": result[1][7],
"href": result[4]})
]) ])
]), ]),
div_bottom_header = gadget.element.querySelector(".box-gadget-bottom-header"), div_bottom_header = gadget.element.querySelector(".box-gadget-bottom-header"),
......
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.59393.60810.27067</string> </value> <value> <string>1004.6436.36702.26948</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659068824.06</float> <float>1668205150.06</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment