Revision d141aada
Added by koszko about 2 years ago
| html/display-panel.js | ||
|---|---|---|
| 497 | 497 |
|
| 498 | 498 |
function show_query_successful_result(result_item, repo_url, result) |
| 499 | 499 |
{
|
| 500 |
if (result.length === 0) {
|
|
| 501 |
show_message(result_item, "No results :(");
|
|
| 502 |
return; |
|
| 503 |
} |
|
| 504 |
|
|
| 500 | 505 |
const cloned_ul_template = clone_template("result_patterns_list");
|
| 501 | 506 |
set_appended(result_item, cloned_ul_template.ul); |
| 502 | 507 |
|
Also available in: Unified diff
show appropriate message when repository returns no custom content for given URL