streamline page attributes

Page attribute icons should now align better and all look the same.
This commit is contained in:
Andreas Gohr 2023-09-12 11:06:19 +02:00
commit b8adbb9e24
7 changed files with 37 additions and 160 deletions

View file

@ -39,9 +39,13 @@ if($doPlugin !== null) {
$class = 'do_late';
$title = sprintf(tpl_getLang('tasks_page_late'), $count['undone'], $count['late']);
}
$markup = "<li class=\"plugin_do_pagetasks $class\" title=\"$title\"><strong><span class=\"num\">{$count['undone']}</span><span class=\"prefix\">" . tpl_getLang('prefix_tasks_page') . " </span></strong></li>";
echo $markup;
echo '<li class="plugin_do_pagetasks">';
echo '<span title="'.$title.'" class="'.$class.'">';
echo inlineSVG(DOKU_PLUGIN . 'do/pix/clipboard-text.svg');
echo '</span>';
echo '<span class="num">' . $count['undone'] . '</span>';
echo '</li>';
}
if($starredPlugin !== null) {