1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00

Correct minor issue in Lister for when both the view and edit links for individual pages are disabled

This commit is contained in:
Ryan Cramer
2017-06-16 12:49:19 -04:00
parent e378acc7bc
commit 0f55f41831

View File

@@ -1448,6 +1448,8 @@ class ProcessPageLister extends Process implements ConfigurableModule {
}
$value = "<a class='$class' id='page$p->id' href='#'>$icon$value$statusIcon</a> $actionsOut";
}
} else {
$value = "<a class='actions_toggle' id='page$p->id' href='#'>$value$statusIcon</a>";
}
if($isTrash) $value = "<div class='ui-priority-secondary'>$value</div>";
return $value;