Merge branch 'fixDoButton' into 'master'
Prevent interaction between do-js and our page-tasks-icon See merge request !52
This commit is contained in:
commit
0ddfd51e0d
2 changed files with 12 additions and 25 deletions
|
@ -2,12 +2,10 @@
|
||||||
* This file provides styles for do-task plugin
|
* This file provides styles for do-task plugin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* + + + + + global + + + + + */
|
/* + + + + + global + + + + + */
|
||||||
|
|
||||||
ul.page-attributes {
|
ul.page-attributes {
|
||||||
.plugin__do_pagetasks {
|
.plugin_do_pagetasks {
|
||||||
&.do_none {
|
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius
|
border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius
|
||||||
|
|
||||||
|
@ -18,6 +16,7 @@ ul.page-attributes {
|
||||||
color: @ini_text_webframe;
|
color: @ini_text_webframe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.do_none {
|
||||||
.num {
|
.num {
|
||||||
background-color: @noopentasks-border; // fix
|
background-color: @noopentasks-border; // fix
|
||||||
color: @noopentasks-color; // fix
|
color: @noopentasks-color; // fix
|
||||||
|
|
|
@ -35,7 +35,7 @@ if($doPlugin !== null) {
|
||||||
$class = 'do_late';
|
$class = 'do_late';
|
||||||
$title = sprintf(tpl_getLang('tasks_page_late'), $count['undone'], $count['late']);
|
$title = sprintf(tpl_getLang('tasks_page_late'), $count['undone'], $count['late']);
|
||||||
}
|
}
|
||||||
$markup = "<li class=\"plugin__do_pagetasks $class\" title=\"$title\"><strong><span class=\"prefix\">" . tpl_getLang('prefix_tasks_page') . " </span><span class=\"num\">{$count['undone']}</span></strong></li>";
|
$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 $markup;
|
||||||
}
|
}
|
||||||
|
@ -43,15 +43,3 @@ if($doPlugin !== null) {
|
||||||
if($doPlugin !== null || $qcPlugin !== null) {
|
if($doPlugin !== null || $qcPlugin !== null) {
|
||||||
echo "</ul>";
|
echo "</ul>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
|
|
||||||
$out = '<div class="plugin__do_pagetasks" title="' . $title . '"><span class="' . $class . '">';
|
|
||||||
$out .= $count['undone'];
|
|
||||||
$out .= '</span></div>';
|
|
||||||
|
|
||||||
if($return) return $out;
|
|
||||||
echo $out;*/
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue