static S ai_html_linkedWebWithThumbs(S webID) { bool auth = html_pretendAuthed(); S html = ai_html_linkedWeb_icon(webID); if (auth) { T3<S> t = ai_webToTriple(ai_getWeb(webID)); new Matches m; // possibly * => * if (t != null && swic(t.b, "possibly ", m) && !ai_hasTriple(t.a, m.rest(), t.c)) html += " " + html_smartBotSendInput(smartBot_storeTripleCmd(t.a, m.rest(), t.c), ai_html_thumbUp()); else html += " " + ai_html_webThumbUpLink(webID); html += " " + ai_html_webThumbDownLink(webID); } ret html; }
Began life as a copy of #1011319
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011881 |
Snippet name: | ai_html_linkedWebWithThumbs |
Eternal ID of this version: | #1011881/11 |
Text MD5: | 6f4effa7f42d509511cadbddcb8906ee |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-28 13:47:05 |
Source code size: | 579 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 533 |
Version history: | 10 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |